From eb510eb9ead0e03ea05b8436ffacc6576b22a827 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Sat, 15 Jul 2023 19:00:14 -0700 Subject: [PATCH 01/12] aahash: add forward() function to have same member function as nthash --- include/btllib/aahash.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/btllib/aahash.hpp b/include/btllib/aahash.hpp index 4c03e5e7..d7f2c78d 100644 --- a/include/btllib/aahash.hpp +++ b/include/btllib/aahash.hpp @@ -141,6 +141,12 @@ class AAHash size_t get_pos() const { return pos; } unsigned get_hash_num() const { return hash_num; } unsigned get_k() const { return k; } + bool + forward() // NOLINT(readability-convert-member-functions-to-static,-warnings-as-errors) + const + { + return true; + } uint64_t get_forward_hash() const { return hashes_array[0]; } unsigned get_level() const { return level; } const char* get_seq() const { return seq; } From c80bdf291ae5d3575956cb2096d6f022d8a22e48 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Sat, 15 Jul 2023 19:00:51 -0700 Subject: [PATCH 02/12] indexlr.hpp: make indexlr a class template to work with NtHash and AAHash --- include/btllib/indexlr.hpp | 178 +++++++++++++++++++++++-------------- 1 file changed, 109 insertions(+), 69 deletions(-) diff --git a/include/btllib/indexlr.hpp b/include/btllib/indexlr.hpp index ac4ce9df..db52008b 100644 --- a/include/btllib/indexlr.hpp +++ b/include/btllib/indexlr.hpp @@ -1,6 +1,7 @@ #ifndef BTLLIB_INDEXLR_HPP #define BTLLIB_INDEXLR_HPP +#include "btllib/aahash.hpp" #include "btllib/bloom_filter.hpp" #include "btllib/nthash.hpp" #include "btllib/order_queue.hpp" @@ -22,6 +23,7 @@ namespace btllib { +template class Indexlr { @@ -164,8 +166,8 @@ class Indexlr unsigned flags = 0, unsigned threads = 5, bool verbose = false, - const btllib::BloomFilter& bf1 = Indexlr::dummy_bf(), - const btllib::BloomFilter& bf2 = Indexlr::dummy_bf()); + const btllib::BloomFilter& bf1 = Indexlr::dummy_bf(), + const btllib::BloomFilter& bf2 = Indexlr::dummy_bf()); Indexlr(std::string seqfile, size_t k, @@ -174,8 +176,8 @@ class Indexlr unsigned flags = 0, unsigned threads = 5, bool verbose = false, - const btllib::BloomFilter& bf1 = Indexlr::dummy_bf(), - const btllib::BloomFilter& bf2 = Indexlr::dummy_bf()); + const btllib::BloomFilter& bf1 = Indexlr::dummy_bf(), + const btllib::BloomFilter& bf2 = Indexlr::dummy_bf()); ~Indexlr(); @@ -203,9 +205,9 @@ class Indexlr } private: - friend Indexlr; + friend Indexlr; - RecordIterator(Indexlr& indexlr, bool end) + RecordIterator(Indexlr& indexlr, bool end) : indexlr(indexlr) { if (!end) { @@ -213,7 +215,7 @@ class Indexlr } } - Indexlr& indexlr; + Indexlr& indexlr; Record record; }; /// @endcond @@ -224,29 +226,31 @@ class Indexlr private: static std::string extract_barcode(const std::string& id, const std::string& comment); - static void filter_hashed_kmer(Indexlr::HashedKmer& hk, + static void filter_hashed_kmer(Indexlr::HashedKmer& hk, bool filter_in, bool filter_out, const BloomFilter& filter_in_bf, const BloomFilter& filter_out_bf); - static void filter_kmer_qual(Indexlr::HashedKmer& hk, + static void filter_kmer_qual(Indexlr::HashedKmer& hk, const std::string& kmer_qual, size_t q); static size_t calc_kmer_quality(const std::string& qual); static void calc_minimizer( - const std::vector& hashed_kmers_buffer, - const Indexlr::Minimizer*& min_current, + const std::vector::HashedKmer>& hashed_kmers_buffer, + const Indexlr::Minimizer*& min_current, size_t idx, ssize_t& min_idx_left, ssize_t& min_idx_right, ssize_t& min_pos_prev, size_t w, - std::vector& minimizers); + std::vector::Minimizer>& minimizers); std::vector minimize(const std::string& seq, const std::string& qual) const; + T hash_itr(const std::string& seq, size_t k) const; + const std::string seqfile; const size_t k, w; size_t q; @@ -270,9 +274,9 @@ class Indexlr OrderQueueMPSC output_queue; using OutputQueueType = decltype(output_queue); - static std::unique_ptr* ready_blocks_array() + static std::unique_ptr* ready_blocks_array() { - thread_local static std::unique_ptr + thread_local static std::unique_ptr var[MAX_SIMULTANEOUS_INDEXLRS]; return var; } @@ -305,7 +309,7 @@ class Indexlr Worker& operator=(const Worker& worker) = delete; Worker& operator=(Worker&& worker) = delete; - Worker(Indexlr& indexlr) + Worker(Indexlr& indexlr) : indexlr(indexlr) { } @@ -323,7 +327,7 @@ class Indexlr static void do_work(Worker* worker) { worker->work(); } int id = -1; - Indexlr& indexlr; + Indexlr& indexlr; std::thread t; }; @@ -335,15 +339,16 @@ class Indexlr }; // Constructor for Indexlr class when q is specified -inline Indexlr::Indexlr(std::string seqfile, - const size_t k, - const size_t w, - const size_t q, - const unsigned flags, - const unsigned threads, - const bool verbose, - const BloomFilter& bf1, - const BloomFilter& bf2) +template +inline Indexlr::Indexlr(std::string seqfile, + const size_t k, + const size_t w, + const size_t q, + const unsigned flags, + const unsigned threads, + const bool verbose, + const BloomFilter& bf1, + const BloomFilter& bf2) : seqfile(std::move(seqfile)) , k(k) , w(w) @@ -351,8 +356,9 @@ inline Indexlr::Indexlr(std::string seqfile, , flags(flags) , verbose(verbose) , id(++last_id()) - , filter_in_bf(filter_in() ? bf1 : Indexlr::dummy_bf()) - , filter_out_bf(filter_out() ? filter_in() ? bf2 : bf1 : Indexlr::dummy_bf()) + , filter_in_bf(filter_in() ? bf1 : Indexlr::dummy_bf()) + , filter_out_bf(filter_out() ? filter_in() ? bf2 : bf1 + : Indexlr::dummy_bf()) , filter_in_enabled(filter_in()) , filter_out_enabled(filter_out()) , reader(this->seqfile, @@ -377,25 +383,29 @@ inline Indexlr::Indexlr(std::string seqfile, } // Constructor for Indexlr class when q is not specified -inline Indexlr::Indexlr(std::string seqfile, - const size_t k, - const size_t w, - const unsigned flags, - const unsigned threads, - const bool verbose, - const BloomFilter& bf1, - const BloomFilter& bf2) - : Indexlr(std::move(seqfile), k, w, 0, flags, threads, verbose, bf1, bf2) +template< // NOLINT(cppcoreguidelines-pro-type-member-init,hicpp-member-init) + class T> +inline Indexlr::Indexlr(std::string seqfile, + const size_t k, + const size_t w, + const unsigned flags, + const unsigned threads, + const bool verbose, + const BloomFilter& bf1, + const BloomFilter& bf2) + : Indexlr(std::move(seqfile), k, w, 0, flags, threads, verbose, bf1, bf2) { } -inline Indexlr::~Indexlr() +template +inline Indexlr::~Indexlr() { close(); } +template inline void -Indexlr::close() noexcept +Indexlr::close() noexcept { bool closed_expected = false; if (closed.compare_exchange_strong(closed_expected, true)) { @@ -439,8 +449,9 @@ r min = v[i] if (i != prev) { prev = i M <- M + m r = l + w - 1 Set window's right bound }*/ +template inline std::string -Indexlr::extract_barcode(const std::string& id, const std::string& comment) +Indexlr::extract_barcode(const std::string& id, const std::string& comment) { const static std::string barcode_prefix = "BX:Z:"; if (startswith(comment, barcode_prefix)) { @@ -461,12 +472,13 @@ Indexlr::extract_barcode(const std::string& id, const std::string& comment) return "NA"; } +template inline void -Indexlr::filter_hashed_kmer(Indexlr::HashedKmer& hk, - bool filter_in, - bool filter_out, - const BloomFilter& filter_in_bf, - const BloomFilter& filter_out_bf) +Indexlr::filter_hashed_kmer(Indexlr::HashedKmer& hk, + bool filter_in, + bool filter_out, + const BloomFilter& filter_in_bf, + const BloomFilter& filter_out_bf) { if (filter_in && filter_out) { std::vector tmp; @@ -485,18 +497,20 @@ Indexlr::filter_hashed_kmer(Indexlr::HashedKmer& hk, } } +template inline void -Indexlr::filter_kmer_qual(Indexlr::HashedKmer& hk, - const std::string& kmer_qual, - size_t q) +Indexlr::filter_kmer_qual(Indexlr::HashedKmer& hk, + const std::string& kmer_qual, + size_t q) { if (calc_kmer_quality(kmer_qual) < q) { hk.min_hash = std::numeric_limits::max(); } } +template inline size_t -Indexlr::calc_kmer_quality(const std::string& qual) +Indexlr::calc_kmer_quality(const std::string& qual) { // convert the quality scores to integers std::vector qual_ints; @@ -513,16 +527,17 @@ Indexlr::calc_kmer_quality(const std::string& qual) return (sum / qual_ints.size()); } +template inline void -Indexlr::calc_minimizer( - const std::vector& hashed_kmers_buffer, - const Indexlr::Minimizer*& min_current, +Indexlr::calc_minimizer( + const std::vector::HashedKmer>& hashed_kmers_buffer, + const Indexlr::Minimizer*& min_current, const size_t idx, ssize_t& min_idx_left, ssize_t& min_idx_right, ssize_t& min_pos_prev, const size_t w, - std::vector& minimizers) + std::vector::Minimizer>& minimizers) { min_idx_left = ssize_t(idx + 1 - w); min_idx_right = ssize_t(idx + 1); @@ -550,8 +565,30 @@ Indexlr::calc_minimizer( } } -inline std::vector -Indexlr::minimize(const std::string& seq, const std::string& qual) const +template +T +Indexlr::hash_itr(const std::string& seq, size_t k) const +{ + return T(seq, k); +} + +template<> +btllib::NtHash +Indexlr::hash_itr(const std::string& seq, size_t k) const +{ + return btllib::NtHash(seq, 2, k); +} + +template<> +btllib::AAHash +Indexlr::hash_itr(const std::string& seq, size_t k) const +{ + return btllib::AAHash(seq, 2, k, 1); +} + +template +inline std::vector::Minimizer> +Indexlr::minimize(const std::string& seq, const std::string& qual) const { if ((k > seq.size()) || (w > seq.size() - k + 1)) { return {}; @@ -562,21 +599,22 @@ Indexlr::minimize(const std::string& seq, const std::string& qual) const ssize_t min_idx_left, min_idx_right, min_pos_prev = -1; const Minimizer* min_current = nullptr; size_t idx = 0; - for (NtHash nh(seq, 2, k); nh.roll(); ++idx) { + T hash_itr = this->hash_itr(seq, k); + for (; hash_itr.roll(); ++idx) { auto& hk = hashed_kmers_buffer[idx % hashed_kmers_buffer.size()]; - hk = HashedKmer(nh.hashes()[0], - nh.hashes()[1], - nh.get_pos(), - nh.forward(), - output_seq() ? seq.substr(nh.get_pos(), k) : "", - output_qual() ? qual.substr(nh.get_pos(), k) : ""); + hk = HashedKmer(hash_itr.hashes()[0], + hash_itr.hashes()[1], + hash_itr.get_pos(), + hash_itr.forward(), + output_seq() ? seq.substr(hash_itr.get_pos(), k) : "", + output_qual() ? qual.substr(hash_itr.get_pos(), k) : ""); filter_hashed_kmer( hk, filter_in(), filter_out(), filter_in_bf.get(), filter_out_bf.get()); if (q > 0) { - filter_kmer_qual(hk, qual.substr(nh.get_pos(), k), q); + filter_kmer_qual(hk, qual.substr(hash_itr.get_pos(), k), q); } if (idx + 1 >= w) { @@ -593,14 +631,15 @@ Indexlr::minimize(const std::string& seq, const std::string& qual) const return minimizers; } -inline Indexlr::Record -Indexlr::read() +template +inline typename Indexlr::Record +Indexlr::read() { if (ready_blocks_owners()[id % MAX_SIMULTANEOUS_INDEXLRS] != id) { ready_blocks_array()[id % MAX_SIMULTANEOUS_INDEXLRS] = std::unique_ptr< // NOLINT(modernize-make-unique) - decltype(output_queue)::Block>( - new decltype(output_queue)::Block(reader.get_block_size())); + typename decltype(output_queue)::Block>( + new typename decltype(output_queue)::Block(reader.get_block_size())); ready_blocks_owners()[id % MAX_SIMULTANEOUS_INDEXLRS] = id; ready_blocks_current()[id % MAX_SIMULTANEOUS_INDEXLRS] = 0; } @@ -611,7 +650,7 @@ Indexlr::read() output_queue.read(block); if (block.count == 0) { output_queue.close(); - block = decltype(output_queue)::Block(reader.get_block_size()); + block = typename decltype(output_queue)::Block(reader.get_block_size()); return Record(); } current = 0; @@ -619,10 +658,11 @@ Indexlr::read() return std::move(block.data[current++]); } +template inline void -Indexlr::Worker::work() +Indexlr::Worker::work() { - decltype(indexlr.output_queue)::Block output_block( + typename decltype(indexlr.output_queue)::Block output_block( indexlr.reader.get_block_size()); uint64_t last_block_num = 0; bool last_block_num_valid = false; From 06df7012317583ea26a490151231fd310c732710 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Sat, 15 Jul 2023 19:01:04 -0700 Subject: [PATCH 03/12] indexlr: update test --- tests/indexlr.cpp | 48 +++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/tests/indexlr.cpp b/tests/indexlr.cpp index 28e27e9a..87eb1110 100644 --- a/tests/indexlr.cpp +++ b/tests/indexlr.cpp @@ -10,10 +10,10 @@ int main() { std::cerr << "Testing on empty file" << std::endl; - btllib::Indexlr indexlr_empty(btllib::get_dirname(__FILE__) + "/empty.fa", + btllib::Indexlr indexlr_empty(btllib::get_dirname(__FILE__) + "/empty.fa", 20, 50, - btllib::Indexlr::Flag::LONG_MODE); + btllib::Indexlr::Flag::LONG_MODE); int i = 0; for (auto minimizers : indexlr_empty) { i++; @@ -21,29 +21,29 @@ main() TEST_ASSERT_EQ(i, 0); std::cerr << "Testing without Bloom filters" << std::endl; - btllib::Indexlr indexlr(btllib::get_dirname(__FILE__) + "/indexlr.fa", + btllib::Indexlr indexlr(btllib::get_dirname(__FILE__) + "/indexlr.fa", 100, 5, - btllib::Indexlr::Flag::SHORT_MODE); - btllib::Indexlr indexlr2(btllib::get_dirname(__FILE__) + "/indexlr.fq", + btllib::Indexlr::Flag::SHORT_MODE); + btllib::Indexlr indexlr2(btllib::get_dirname(__FILE__) + "/indexlr.fq", 100, 5, - btllib::Indexlr::Flag::BX | - btllib::Indexlr::Flag::SEQ | - btllib::Indexlr::Flag::SHORT_MODE); - btllib::Indexlr indexlr3(btllib::get_dirname(__FILE__) + "/indexlr.stlfr.fq", + btllib::Indexlr::Flag::BX | + btllib::Indexlr::Flag::SEQ | + btllib::Indexlr::Flag::SHORT_MODE); + btllib::Indexlr indexlr3(btllib::get_dirname(__FILE__) + "/indexlr.stlfr.fq", 75, 5, - btllib::Indexlr::Flag::BX | - btllib::Indexlr::Flag::SHORT_MODE | - btllib::Indexlr::Flag::NO_ID); + btllib::Indexlr::Flag::BX | + btllib::Indexlr::Flag::SHORT_MODE | + btllib::Indexlr::Flag::NO_ID); std::cerr << "Testing quality filtering" << std::endl; - btllib::Indexlr indexlr4(btllib::get_dirname(__FILE__) + "/indexlr.quality.fq", + btllib::Indexlr indexlr4(btllib::get_dirname(__FILE__) + "/indexlr.quality.fq", 50, 20, size_t(25), - btllib::Indexlr::Flag::SHORT_MODE); + btllib::Indexlr::Flag::SHORT_MODE); std::ifstream correct_output_file(btllib::get_dirname(__FILE__) + @@ -185,11 +185,11 @@ main() filter_out_bf.insert({ h }); } - btllib::Indexlr indexlr5(btllib::get_dirname(__FILE__) + "/indexlr.fq", + btllib::Indexlr indexlr5(btllib::get_dirname(__FILE__) + "/indexlr.fq", 100, 5, - btllib::Indexlr::Flag::FILTER_IN | - btllib::Indexlr::Flag::LONG_MODE, + btllib::Indexlr::Flag::FILTER_IN | + btllib::Indexlr::Flag::LONG_MODE, 3, true, filter_in_bf); @@ -209,11 +209,11 @@ main() } TEST_ASSERT_GE(mins_found, filter_in_hashes.size()); - btllib::Indexlr indexlr6(btllib::get_dirname(__FILE__) + "/indexlr.fq", + btllib::Indexlr indexlr6(btllib::get_dirname(__FILE__) + "/indexlr.fq", 100, 5, - btllib::Indexlr::Flag::FILTER_OUT | - btllib::Indexlr::Flag::LONG_MODE, + btllib::Indexlr::Flag::FILTER_OUT | + btllib::Indexlr::Flag::LONG_MODE, 3, true, filter_out_bf); @@ -228,12 +228,12 @@ main() } TEST_ASSERT_GE(mins_found, filter_in_hashes.size()); - btllib::Indexlr indexlr7(btllib::get_dirname(__FILE__) + "/indexlr.fq", + btllib::Indexlr indexlr7(btllib::get_dirname(__FILE__) + "/indexlr.fq", 100, 5, - btllib::Indexlr::Flag::FILTER_IN | - btllib::Indexlr::Flag::FILTER_OUT | - btllib::Indexlr::Flag::SHORT_MODE, + btllib::Indexlr::Flag::FILTER_IN | + btllib::Indexlr::Flag::FILTER_OUT | + btllib::Indexlr::Flag::SHORT_MODE, 3, true, filter_in_bf, From 6a78879c14b7e5daa308f7370221f1d55a71410a Mon Sep 17 00:00:00 2001 From: jowong04 Date: Sat, 15 Jul 2023 19:01:45 -0700 Subject: [PATCH 04/12] indexlr: update wrappers --- wrappers/extra_common.i | 16 +- wrappers/extra_templates.i | 1 + wrappers/python/btllib.py | 106 +- wrappers/python/btllib_wrap.cxx | 42484 ++++++++++++++---------------- wrappers/python/extra.i | 20 +- 5 files changed, 20471 insertions(+), 22156 deletions(-) diff --git a/wrappers/extra_common.i b/wrappers/extra_common.i index 4762b9f7..2937605c 100644 --- a/wrappers/extra_common.i +++ b/wrappers/extra_common.i @@ -28,9 +28,9 @@ %rename (SeqReaderFlag) btllib::SeqReader::Flag; %rename (SeqReaderFormat) btllib::SeqReader::Format; %rename (SeqWriterFormat) btllib::SeqWriter::Format; -%rename (IndexlrRecord) btllib::Indexlr::Record; -%rename (IndexlrRecordIterator) btllib::Indexlr::RecordIterator; -%rename (IndexlrFlag) btllib::Indexlr::Flag; +%rename (IndexlrRecord) btllib::Indexlr::Record; +%rename (IndexlrRecordIterator) btllib::Indexlr::RecordIterator; +%rename (IndexlrFlag) btllib::Indexlr::Flag; %ignore btllib::SeqReader::read_block; @@ -52,9 +52,9 @@ %ignore btllib::SeqReader::RecordIterator::operator!=; %ignore btllib::SeqReader::RecordIterator::operator*; -%ignore btllib::Indexlr::RecordIterator::operator++; -%ignore btllib::Indexlr::RecordIterator::operator!=; -%ignore btllib::Indexlr::RecordIterator::operator*; +%ignore btllib::Indexlr::RecordIterator::operator++; +%ignore btllib::Indexlr::RecordIterator::operator!=; +%ignore btllib::Indexlr::RecordIterator::operator*; %ignore btllib::parse_blocks(const std::vector&, unsigned); @@ -70,10 +70,10 @@ %template(VectorUnsigned) std::vector; %template(VectorDouble) std::vector; %template(VectorUint64t) std::vector; -%template(VectorMinimizer) std::vector; +%template(VectorMinimizer) std::vector::Minimizer>; namespace btllib { -using SpacedSeed = std::vector; +using SpacedSeed = std::vector< unsigned >; } %template(VectorSpacedSeed) std::vector; diff --git a/wrappers/extra_templates.i b/wrappers/extra_templates.i index 1522573f..eab88658 100644 --- a/wrappers/extra_templates.i +++ b/wrappers/extra_templates.i @@ -7,3 +7,4 @@ %template(MIBloomFilter8) btllib::MIBloomFilter; %template(MIBloomFilter16) btllib::MIBloomFilter; %template(MIBloomFilter32) btllib::MIBloomFilter; +%template(Indexlr) btllib::Indexlr; diff --git a/wrappers/python/btllib.py b/wrappers/python/btllib.py index e60fa8be..65f660ac 100644 --- a/wrappers/python/btllib.py +++ b/wrappers/python/btllib.py @@ -1,12 +1,112 @@ -# This file was automatically generated by SWIG (https://www.swig.org). -# Version 4.1.1 +# 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 +# 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") + # Pull in all the attributes from the low-level C/C++ module if __package__ or "." in __name__: from ._btllib import * else: from _btllib import * + +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__) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Record = new_Record + + + + diff --git a/wrappers/python/btllib_wrap.cxx b/wrappers/python/btllib_wrap.cxx index 7658f5fb..f4d8fd86 100644 --- a/wrappers/python/btllib_wrap.cxx +++ b/wrappers/python/btllib_wrap.cxx @@ -1,17 +1,44 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.1.1 + * 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. + * This file is not intended to be easily readable and contains a number of + * coding conventions designed to improve portability and efficiency. Do not make + * changes to this file unless you know what you are doing--modify the SWIG + * interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040101 +#ifndef SWIGPYTHON #define SWIGPYTHON +#endif + #define SWIG_PYTHON_DIRECTOR_NO_VTABLE #define SWIGPYTHON_BUILTIN -#define SWIGPYTHON_FASTPROXY + + +#ifdef __cplusplus +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigMovePointer { + T *ptr; + SwigMovePointer(T *p) : ptr(p) { } + ~SwigMovePointer() { delete ptr; } + SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } + operator T&() const { return *pointer.ptr; } + T *operator&() { return pointer.ptr; } +}; + +template T SwigValueInit() { + return T(); +} +#endif /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable @@ -143,26 +170,8 @@ # include #endif -#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN) -#define PY_SSIZE_T_CLEAN -#endif - -#if __GNUC__ >= 7 -#pragma GCC diagnostic push -#if defined(__cplusplus) && __cplusplus >=201703L -#pragma GCC diagnostic ignored "-Wregister" /* For python-2.7 headers that use register */ -#endif -#endif - #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG) /* Use debug wrappers with the Python release dll */ - -#if defined(_MSC_VER) && _MSC_VER >= 1929 -/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later - * See https://github.com/swig/swig/issues/2090 */ -# include -#endif - # undef _DEBUG # include # define _DEBUG 1 @@ -170,10 +179,6 @@ # include #endif -#if __GNUC__ >= 7 -#pragma GCC diagnostic pop -#endif - /* ----------------------------------------------------------------------------- * swigrun.swg * @@ -220,8 +225,6 @@ #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 -#define SWIG_POINTER_CLEAR 0x8 -#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 @@ -293,7 +296,7 @@ SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows returning the 'cast rank', for example, if you have this + allows to return the 'cast rank', for example, if you have this int food(double) int fooi(int); @@ -307,13 +310,7 @@ */ #define SWIG_OK (0) -/* Runtime errors are < 0 */ #define SWIG_ERROR (-1) -/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */ -/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */ -/* Errors < -200 are generic runtime specific errors */ -#define SWIG_ERROR_RELEASE_NOT_OWNED (-200) - #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) @@ -328,7 +325,7 @@ #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del object mask methods */ +/* Check, add and del mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) @@ -474,7 +471,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) { Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison */ SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) { +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { @@ -534,9 +531,9 @@ SWIG_TypeName(const swig_type_info *ty) { SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. Choose the last - name. It should be the most specific; a fully resolved name - but not necessarily with default template parameters expanded. */ + type, separated by vertical-bar characters. We choose + to print the last name, as it is often (?) the most + specific. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; @@ -756,7 +753,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ +/* Errors in SWIG */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -772,6 +769,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define SWIG_NullReferenceError -13 + /* Compatibility macros for Python 3 */ #if PY_VERSION_HEX >= 0x03000000 @@ -787,6 +785,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define PyString_Size(str) PyBytes_Size(str) #define PyString_InternFromString(key) PyUnicode_InternFromString(key) #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE +#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x) #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x) #endif @@ -804,19 +803,38 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #endif +/* Warning: This function will allocate a new string in Python 3, + * so please call SWIG_Python_str_DelForPy3(x) to free the space. + */ SWIGINTERN char* SWIG_Python_str_AsChar(PyObject *str) { #if PY_VERSION_HEX >= 0x03030000 return (char *)PyUnicode_AsUTF8(str); +#elif PY_VERSION_HEX >= 0x03000000 + char *newstr = 0; + str = PyUnicode_AsUTF8String(str); + if (str) { + char *cstr; + Py_ssize_t len; + if (PyBytes_AsStringAndSize(str, &cstr, &len) != -1) { + newstr = (char *) malloc(len+1); + if (newstr) + memcpy(newstr, cstr, len+1); + } + Py_XDECREF(str); + } + return newstr; #else return PyString_AsString(str); #endif } -/* Was useful for Python 3.0.x-3.2.x - now provided only for compatibility - * with any uses in user interface files. */ -#define SWIG_Python_str_DelForPy3(x) +#if PY_VERSION_HEX >= 0x03030000 || PY_VERSION_HEX < 0x03000000 +# define SWIG_Python_str_DelForPy3(x) +#else +# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) +#endif SWIGINTERN PyObject* @@ -833,14 +851,10 @@ SWIG_Python_str_FromChar(const char *c) # define PyObject_DEL PyObject_Del #endif -/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */ +// SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user +// interface files check for it. # define SWIGPY_USE_CAPSULE -#ifdef SWIGPYTHON_BUILTIN -# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME -#else -# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME -#endif -# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION "." SWIGPY_CAPSULE_ATTR_NAME) +# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) #if PY_VERSION_HEX < 0x03020000 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) @@ -914,6 +928,7 @@ SWIG_Python_AddErrorMsg(const char* mesg) PyErr_Format(type, "%s %s", tmp, mesg); else PyErr_Format(type, "%s", mesg); + SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); Py_DECREF(value); } else { @@ -944,12 +959,8 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) #else newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message); #endif - if (newvalue) { - Py_XDECREF(value); - PyErr_Restore(type, newvalue, traceback); - } else { - PyErr_Restore(type, value, traceback); - } + Py_XDECREF(value); + PyErr_Restore(type, newvalue, traceback); } else { /* Raise TypeError using given message */ PyErr_SetString(PyExc_TypeError, message); @@ -1069,8 +1080,8 @@ typedef struct swig_const_info { # error "This version of SWIG only supports Python >= 2.7" #endif -#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000 -# error "This version of SWIG only supports Python 3 >= 3.3" +#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000 +# error "This version of SWIG only supports Python 3 >= 3.2" #endif /* Common SWIG API */ @@ -1185,12 +1196,7 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { if (!PyList_Check(result)) { PyObject *o2 = result; result = PyList_New(1); - if (result) { - PyList_SET_ITEM(result, 0, o2); - } else { - Py_DECREF(obj); - return o2; - } + PyList_SetItem(result, 0, o2); } PyList_Append(result,obj); Py_DECREF(obj); @@ -1272,238 +1278,6 @@ SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) { #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var #endif -#ifdef __cplusplus -extern "C" { -#endif - -/* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - -/* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - -typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; -} swig_globalvar; - -typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; -} swig_varlinkobject; - -SWIGINTERN PyObject * -swig_varlink_repr(PyObject *SWIGUNUSEDPARM(v)) { -#if PY_VERSION_HEX >= 0x03000000 - return PyUnicode_InternFromString(""); -#else - return PyString_FromString(""); -#endif -} - -SWIGINTERN PyObject * -swig_varlink_str(PyObject *o) { - swig_varlinkobject *v = (swig_varlinkobject *) o; -#if PY_VERSION_HEX >= 0x03000000 - PyObject *str = PyUnicode_InternFromString("("); - PyObject *tail; - PyObject *joined; - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - tail = PyUnicode_FromString(var->name); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; - if (var->next) { - tail = PyUnicode_InternFromString(", "); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; - } - } - tail = PyUnicode_InternFromString(")"); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; -#else - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); -#endif - return str; -} - -SWIGINTERN void -swig_varlink_dealloc(PyObject *o) { - swig_varlinkobject *v = (swig_varlinkobject *) o; - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } -} - -SWIGINTERN PyObject * -swig_varlink_getattr(PyObject *o, char *n) { - swig_varlinkobject *v = (swig_varlinkobject *) o; - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); - } - return res; -} - -SWIGINTERN int -swig_varlink_setattr(PyObject *o, char *n, PyObject *p) { - swig_varlinkobject *v = (swig_varlinkobject *) o; - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); - } - return res; -} - -SWIGINTERN PyTypeObject* -swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp = { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "swigvarlink", /* tp_name */ - sizeof(swig_varlinkobject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor) swig_varlink_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ -#else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ -#endif - (getattrfunc) swig_varlink_getattr, /* tp_getattr */ - (setattrfunc) swig_varlink_setattr, /* tp_setattr */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc) swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ - 0, /* tp_del */ - 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0 /* tp_next */ -#endif - }; - varlink_type = tmp; - type_init = 1; - if (PyType_Ready(&varlink_type) < 0) - return NULL; - } - return &varlink_type; -} - -/* Create a variable linking object for use later */ -SWIGINTERN PyObject * -SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); -} - -SWIGINTERN void -SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - memcpy(gv->name, name, size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; -} - - -static PyObject *Swig_Globals_global = NULL; - -SWIGINTERN PyObject * -SWIG_globals(void) { - if (Swig_Globals_global == NULL) { - Swig_Globals_global = SWIG_newvarlink(); - } - return Swig_Globals_global; -} - -#ifdef __cplusplus -} -#endif - /* ----------------------------------------------------------------------------- * Pointer declarations * ----------------------------------------------------------------------------- */ @@ -1574,25 +1348,18 @@ SwigPyClientData_New(PyObject* obj) /* the newraw method and newargs arguments used to create a new raw instance */ if (PyClass_Check(obj)) { data->newraw = 0; - Py_INCREF(obj); data->newargs = obj; + Py_INCREF(obj); } else { data->newraw = PyObject_GetAttrString(data->klass, "__new__"); if (data->newraw) { - data->newargs = PyTuple_New(1); - if (data->newargs) { - Py_INCREF(obj); - PyTuple_SET_ITEM(data->newargs, 0, obj); - } else { - Py_DECREF(data->newraw); - Py_DECREF(data->klass); - free(data); - return 0; - } + Py_INCREF(data->newraw); + data->newargs = PyTuple_New(1); + PyTuple_SetItem(data->newargs, 0, obj); } else { - Py_INCREF(obj); - data->newargs = obj; + data->newargs = obj; } + Py_INCREF(data->newargs); } /* the destroy method, aka as the C++ delete method */ data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__"); @@ -1601,7 +1368,10 @@ SwigPyClientData_New(PyObject* obj) data->destroy = 0; } if (data->destroy) { - data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O); + int flags; + Py_INCREF(data->destroy); + flags = PyCFunction_GET_FLAGS(data->destroy); + data->delargs = !(flags & (METH_O)); } else { data->delargs = 0; } @@ -1612,13 +1382,10 @@ SwigPyClientData_New(PyObject* obj) } SWIGRUNTIME void -SwigPyClientData_Del(SwigPyClientData *data) -{ - Py_XDECREF(data->klass); +SwigPyClientData_Del(SwigPyClientData *data) { Py_XDECREF(data->newraw); Py_XDECREF(data->newargs); Py_XDECREF(data->destroy); - free(data); } /* =============== SwigPyObject =====================*/ @@ -1645,7 +1412,7 @@ SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) if (!sobj->dict) sobj->dict = PyDict_New(); - Py_XINCREF(sobj->dict); + Py_INCREF(sobj->dict); return sobj->dict; } @@ -1663,21 +1430,18 @@ SwigPyObject_format(const char* fmt, SwigPyObject *v) PyObject *res = NULL; PyObject *args = PyTuple_New(1); if (args) { - PyObject *val = SwigPyObject_long(v); - if (val) { - PyObject *ofmt; - PyTuple_SET_ITEM(args, 0, val); - ofmt = SWIG_Python_str_FromChar(fmt); + if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) { + PyObject *ofmt = SWIG_Python_str_FromChar(fmt); if (ofmt) { #if PY_VERSION_HEX >= 0x03000000 - res = PyUnicode_Format(ofmt,args); + res = PyUnicode_Format(ofmt,args); #else - res = PyString_Format(ofmt,args); + res = PyString_Format(ofmt,args); #endif - Py_DECREF(ofmt); + Py_DECREF(ofmt); } + Py_DECREF(args); } - Py_DECREF(args); } return res; } @@ -1699,23 +1463,18 @@ SwigPyObject_repr(SwigPyObject *v) { const char *name = SWIG_TypePrettyName(v->ty); PyObject *repr = SWIG_Python_str_FromFormat("", (name ? name : "unknown"), (void *)v); - if (repr && v->next) { + if (v->next) { PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next); - if (nrep) { # if PY_VERSION_HEX >= 0x03000000 - PyObject *joined = PyUnicode_Concat(repr, nrep); - Py_DecRef(repr); - Py_DecRef(nrep); - repr = joined; + PyObject *joined = PyUnicode_Concat(repr, nrep); + Py_DecRef(repr); + Py_DecRef(nrep); + repr = joined; # else - PyString_ConcatAndDel(&repr,nrep); + PyString_ConcatAndDel(&repr,nrep); # endif - } else { - Py_DecRef(repr); - repr = NULL; - } } - return repr; + return repr; } /* We need a version taking two PyObject* parameters so it's a valid @@ -1785,8 +1544,6 @@ SwigPyObject_Check(PyObject *op) { SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own); -static PyObject* Swig_Capsule_global = NULL; - SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v) { @@ -1813,12 +1570,8 @@ SwigPyObject_dealloc(PyObject *v) if (data->delargs) { /* we need to create a temporary object to carry the destroy operation */ PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); - if (tmp) { - res = SWIG_Python_CallFunctor(destroy, tmp); - } else { - res = 0; - } - Py_XDECREF(tmp); + res = SWIG_Python_CallFunctor(destroy, tmp); + Py_DECREF(tmp); } else { PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); PyObject *mself = PyCFunction_GET_SELF(destroy); @@ -1837,12 +1590,8 @@ SwigPyObject_dealloc(PyObject *v) printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); } #endif - Py_XDECREF(Swig_Capsule_global); - } + } Py_XDECREF(next); -#ifdef SWIGPYTHON_BUILTIN - Py_XDECREF(sobj->dict); -#endif PyObject_DEL(v); } @@ -1854,7 +1603,6 @@ SwigPyObject_append(PyObject* v, PyObject* next) PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject"); return NULL; } - ((SwigPyObject *)next)->next = sobj->next; sobj->next = next; Py_INCREF(next); return SWIG_Py_Void(); @@ -1899,9 +1647,9 @@ SwigPyObject_own(PyObject *v, PyObject *args) PyObject *obj = PyBool_FromLong(sobj->own); if (val) { if (PyObject_IsTrue(val)) { - Py_DECREF(SwigPyObject_acquire(v,args)); + SwigPyObject_acquire(v,args); } else { - Py_DECREF(SwigPyObject_disown(v,args)); + SwigPyObject_disown(v,args); } } return obj; @@ -1981,11 +1729,7 @@ SwigPyObject_TypeOnce(void) { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyObject_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ -#else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ -#endif + 0, /* tp_print */ (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -2050,7 +1794,7 @@ SwigPyObject_TypeOnce(void) { }; swigpyobject_type = tmp; type_init = 1; - if (PyType_Ready(&swigpyobject_type) != 0) + if (PyType_Ready(&swigpyobject_type) < 0) return NULL; } return &swigpyobject_type; @@ -2065,15 +1809,6 @@ SwigPyObject_New(void *ptr, swig_type_info *ty, int own) sobj->ty = ty; sobj->own = own; sobj->next = 0; -#ifdef SWIGPYTHON_BUILTIN - sobj->dict = 0; -#endif - if (own == SWIG_POINTER_OWN) { - /* Obtain a reference to the Python capsule wrapping the module information, so that the - * module information is correctly destroyed after all SWIG python objects have been freed - * by the GC (and corresponding destructors invoked) */ - Py_XINCREF(Swig_Capsule_global); - } } return (PyObject *)sobj; } @@ -2161,11 +1896,7 @@ SwigPyPacked_TypeOnce(void) { sizeof(SwigPyPacked), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ -#else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ -#endif + 0, /* tp_print */ (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX>=0x03000000 @@ -2230,7 +1961,7 @@ SwigPyPacked_TypeOnce(void) { }; swigpypacked_type = tmp; type_init = 1; - if (PyType_Ready(&swigpypacked_type) != 0) + if (PyType_Ready(&swigpypacked_type) < 0) return NULL; } return &swigpypacked_type; @@ -2420,19 +2151,12 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int } } if (sobj) { - if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) { - res = SWIG_ERROR_RELEASE_NOT_OWNED; - } else { - if (own) - *own = *own | sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; - } - if (flags & SWIG_POINTER_CLEAR) { - sobj->ptr = 0; - } - res = SWIG_OK; + if (own) + *own = *own | sobj->own; + if (flags & SWIG_POINTER_DISOWN) { + sobj->own = 0; } + res = SWIG_OK; } else { if (implicit_conv) { SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; @@ -2545,17 +2269,12 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) PyObject **dictptr = _PyObject_GetDictPtr(inst); if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - } - if (dict) { - PyDict_SetItem(dict, SWIG_This(), swig_this); - } else{ - Py_DECREF(inst); - inst = 0; - } + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + PyDict_SetItem(dict, SWIG_This(), swig_this); + } } #else if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { @@ -2577,7 +2296,7 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) Py_DECREF(inst); inst = 0; } else { - PyType_Modified(Py_TYPE(inst)); + Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; } } } @@ -2606,11 +2325,7 @@ SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) dict = PyDict_New(); *dictptr = dict; } - if (dict) { - return PyDict_SetItem(dict, SWIG_This(), swig_this); - } else{ - return -1; - } + return PyDict_SetItem(dict, SWIG_This(), swig_this); } #endif return PyObject_SetAttr(inst, SWIG_This(), swig_this); @@ -2625,7 +2340,7 @@ SWIG_Python_InitShadowInstance(PyObject *args) { } else { SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); if (sthis) { - Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1])); + SwigPyObject_append((PyObject*) sthis, obj[1]); } else { if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) return NULL; @@ -2664,9 +2379,7 @@ SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int f } else { newobj = PyObject_New(SwigPyObject, clientdata->pytype); #ifdef SWIGPYTHON_BUILTIN - if (newobj) { - newobj->dict = 0; - } + newobj->dict = 0; #endif } if (newobj) { @@ -2705,61 +2418,39 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif -static PyObject *Swig_TypeCache_global = NULL; - -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - if (Swig_TypeCache_global == NULL) { - Swig_TypeCache_global = PyDict_New(); - } - return Swig_TypeCache_global; -} - SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) { -#ifdef SWIG_LINK_RUNTIME static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { +#ifdef SWIG_LINK_RUNTIME type_pointer = SWIG_ReturnGlobalTypeList((void *)0); - } #else - void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } + type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); + if (PyErr_Occurred()) { + PyErr_Clear(); + type_pointer = (void *)0; + } #endif + } return (swig_module_info *) type_pointer; } - -static int interpreter_counter = 0; // how many (sub-)interpreters are using swig_module's types - SWIGRUNTIME void SWIG_Python_DestroyModule(PyObject *obj) { swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME); swig_type_info **types = swig_module->types; size_t i; - if (--interpreter_counter != 0) // another sub-interpreter may still be using the swig_module's types - return; for (i =0; i < swig_module->size; ++i) { swig_type_info *ty = types[i]; if (ty->owndata) { SwigPyClientData *data = (SwigPyClientData *) ty->clientdata; - ty->clientdata = 0; if (data) SwigPyClientData_Del(data); } } Py_DECREF(SWIG_This()); Swig_This_global = NULL; - Py_DECREF(SWIG_globals()); - Swig_Globals_global = NULL; - Py_DECREF(SWIG_Python_TypeCache()); - Swig_TypeCache_global = NULL; - Swig_Capsule_global = NULL; } SWIGRUNTIME void @@ -2773,17 +2464,19 @@ SWIG_Python_SetModule(swig_module_info *swig_module) { #endif PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule); if (pointer && module) { - if (PyModule_AddObject(module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) { - ++interpreter_counter; - Swig_Capsule_global = pointer; - } else { - Py_DECREF(pointer); - } + PyModule_AddObject(module, "type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer); } else { Py_XDECREF(pointer); } } +/* The python cached type query */ +SWIGRUNTIME PyObject * +SWIG_Python_TypeCache(void) { + static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); + return cache; +} + SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type) { @@ -2798,10 +2491,8 @@ SWIG_Python_TypeQuery(const char *type) descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); if (descriptor) { obj = PyCapsule_New((void*) descriptor, NULL, NULL); - if (obj) { - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); - } + PyDict_SetItem(cache, key, obj); + Py_DECREF(obj); } } Py_DECREF(key); @@ -2834,6 +2525,7 @@ SWIG_Python_AddErrMesg(const char* mesg, int infront) } else { PyErr_Format(type, "%s %s", errmesg, mesg); } + SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); } return 1; @@ -2885,6 +2577,7 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) if (cstr) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", type, otype, cstr); + SWIG_Python_str_DelForPy3(cstr); } else { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); @@ -2906,6 +2599,12 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(arg void *result; if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { PyErr_Clear(); +#if SWIG_POINTER_EXCEPTION + if (flags) { + SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); + SWIG_Python_ArgFail(argnum); + } +#endif } return result; } @@ -2936,7 +2635,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } if (!tp->tp_dict) { - if (PyType_Ready(tp) != 0) + if (PyType_Ready(tp) < 0) goto done; } @@ -2951,7 +2650,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } else { encoded_name = PyUnicode_AsUTF8String(name); if (!encoded_name) - goto done; + return -1; } PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); Py_DECREF(encoded_name); @@ -2978,11 +2677,7 @@ SWIGINTERN Py_hash_t SwigPyObject_hash(PyObject *obj) { SwigPyObject *sobj = (SwigPyObject *)obj; void *ptr = sobj->ptr; -#if PY_VERSION_HEX < 0x03020000 - return (Py_hash_t)(Py_ssize_t)ptr; -#else return (Py_hash_t)ptr; -#endif } SWIGINTERN Py_hash_t @@ -3187,11 +2882,7 @@ SwigPyStaticVar_Type(void) { sizeof(PyGetSetDescrObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyStaticVar_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /* tp_print */ -#else - (Py_ssize_t)0, /* tp_vectorcall_offset */ -#endif + 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -3275,11 +2966,7 @@ SwigPyObjectType(void) { PyType_Type.tp_basicsize, /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /* tp_print */ -#else - (Py_ssize_t)0, /* tp_vectorcall_offset */ -#endif + 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -3398,10 +3085,10 @@ SwigPyBuiltin_ThisClosure (PyObject *self, void *SWIGUNUSEDPARM(closure)) { SWIGINTERN void SwigPyBuiltin_SetMetaType (PyTypeObject *type, PyTypeObject *metatype) { -#if PY_VERSION_HEX >= 0x030900a4 - Py_SET_TYPE(type, metatype); +#if PY_VERSION_HEX >= 0x03000000 + type->ob_base.ob_base.ob_type = metatype; #else - Py_TYPE(type) = metatype; + type->ob_type = metatype; #endif } @@ -3739,8 +3426,23 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) -#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) +#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else + + + +#ifdef __cplusplus +extern "C" { +#endif + +/* Method creation and docstring support functions */ +SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name); +SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); +SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); + +#ifdef __cplusplus +} +#endif #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) @@ -3764,11 +3466,11 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIGTYPE_p_btllib__DataSource swig_types[13] #define SWIGTYPE_p_btllib__DataStream swig_types[14] #define SWIGTYPE_p_btllib__Datatype swig_types[15] -#define SWIGTYPE_p_btllib__Indexlr swig_types[16] -#define SWIGTYPE_p_btllib__Indexlr__Flag swig_types[17] -#define SWIGTYPE_p_btllib__Indexlr__Minimizer swig_types[18] -#define SWIGTYPE_p_btllib__Indexlr__Record swig_types[19] -#define SWIGTYPE_p_btllib__Indexlr__RecordIterator swig_types[20] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t swig_types[16] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag swig_types[17] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer swig_types[18] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record swig_types[19] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator swig_types[20] #define SWIGTYPE_p_btllib__KmerBloomFilter swig_types[21] #define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t swig_types[22] #define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t swig_types[23] @@ -3826,7 +3528,7 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIGTYPE_p_size_t swig_types[75] #define SWIGTYPE_p_size_type swig_types[76] #define SWIGTYPE_p_state_type swig_types[77] -#define SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t swig_types[78] +#define SWIGTYPE_p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t swig_types[78] #define SWIGTYPE_p_std__allocatorT_double_t swig_types[79] #define SWIGTYPE_p_std__allocatorT_int_t swig_types[80] #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[81] @@ -3844,7 +3546,7 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIGTYPE_p_std__locale swig_types[93] #define SWIGTYPE_p_std__string swig_types[94] #define SWIGTYPE_p_std__string_view swig_types[95] -#define SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t swig_types[96] +#define SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t swig_types[96] #define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[97] #define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[98] #define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[99] @@ -3888,52 +3590,8 @@ static swig_module_info swig_module = {swig_types, 116, 0, 0, 0, 0}; #endif #define SWIG_name "_btllib" -#ifdef __cplusplus -#include -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigSmartPointer { - T *ptr; - SwigSmartPointer(T *p) : ptr(p) { } - ~SwigSmartPointer() { delete ptr; } - SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } -#if __cplusplus >=201103L - SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } - operator T&&() const { return std::move(*pointer.ptr); } -#else - operator T&() const { return *pointer.ptr; } -#endif - T *operator&() const { return pointer.ptr; } - static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } -}; - -/* - * SwigValueInit() is a generic initialisation solution as the following approach: - * - * T c_result = T(); - * - * doesn't compile for all types for example: - * - * unsigned int c_result = unsigned int(); - */ -template T SwigValueInit() { - return T(); -} - -#if __cplusplus >=201103L -# define SWIG_STD_MOVE(OBJ) std::move(OBJ) -#else -# define SWIG_STD_MOVE(OBJ) OBJ -#endif - -#endif +#define SWIGVERSION 0x040002 +#define SWIG_VERSION SWIGVERSION #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) @@ -4716,6 +4374,10 @@ inline int SWIG_isfinite_func(T x) { # define SWIG_isfinite(X) (SWIG_isfinite_func(X)) # elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) # define SWIG_isfinite(X) (__builtin_isfinite(X)) +# elif defined(__clang__) && defined(__has_builtin) +# if __has_builtin(__builtin_isfinite) +# define SWIG_isfinite(X) (__builtin_isfinite(X)) +# endif # elif defined(_MSC_VER) # define SWIG_isfinite(X) (_finite(X)) # elif defined(__sun) && defined(__SVR4) @@ -4759,9 +4421,9 @@ SWIGINTERN std::basic_ostream< char,std::char_traits< char > > &std_basic_ostrea #include #if PY_VERSION_HEX >= 0x03020000 -# define SWIGPY_SLICEOBJECT PyObject +# define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj)) #else -# define SWIGPY_SLICEOBJECT PySliceObject +# define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj)) #endif @@ -6222,46 +5884,46 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delslice__(std::vector< uns SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_0(std::vector< unsigned char > *self,std::vector< unsigned char >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_0(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_0(std::vector< unsigned char > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_0(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned char,std::allocator< unsigned char > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_0(std::vector< unsigned char > *self,PySliceObject *slice,std::vector< unsigned char,std::allocator< unsigned char > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_1(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_1(std::vector< unsigned char > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_1(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_1(std::vector< unsigned char > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6437,46 +6099,46 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::stri SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::string,std::allocator< std::string > > const &v){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6561,46 +6223,46 @@ SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std: SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< int,std::allocator< int > > const &v){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6692,46 +6354,46 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delslice__(std::vector< unsi SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6819,46 +6481,46 @@ SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *sel SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice,std::vector< double,std::allocator< double > > const &v){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6943,46 +6605,46 @@ SWIGINTERN void std_vector_Sl_uint64_t_Sg____delslice__(std::vector< uint64_t > SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(std::vector< uint64_t > *self,std::vector< uint64_t >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -7012,116 +6674,116 @@ SWIGINTERN std::vector< uint64_t >::iterator std_vector_Sl_uint64_t_Sg__insert__ SWIGINTERN void std_vector_Sl_uint64_t_Sg__insert__SWIG_1(std::vector< uint64_t > *self,std::vector< uint64_t >::iterator pos,std::vector< uint64_t >::size_type n,std::vector< uint64_t >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits< btllib::Indexlr::Minimizer > { + template <> struct traits< btllib::Indexlr< btllib::NtHash >::Minimizer > { typedef pointer_category category; - static const char* type_name() { return"btllib::Indexlr::Minimizer"; } + static const char* type_name() { return"btllib::Indexlr< btllib::NtHash >::Minimizer"; } }; } namespace swig { - template <> struct traits > > { + template <> struct traits::Minimizer, std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > > { typedef pointer_category category; static const char* type_name() { - return "std::vector<" "btllib::Indexlr::Minimizer" "," "std::allocator< btllib::Indexlr::Minimizer >" " >"; + return "std::vector<" "btllib::Indexlr< btllib::NtHash >::Minimizer" "," "std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer >" " >"; } }; } -SWIGINTERN swig::SwigPyIterator *std_vector_Sl_btllib_Indexlr_Minimizer_Sg__iterator(std::vector< btllib::Indexlr::Minimizer > *self,PyObject **PYTHON_SELF){ +SWIGINTERN swig::SwigPyIterator *std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__iterator(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PyObject **PYTHON_SELF){ return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF); } -SWIGINTERN bool std_vector_Sl_btllib_Indexlr_Minimizer_Sg____nonzero__(std::vector< btllib::Indexlr::Minimizer > const *self){ +SWIGINTERN bool std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____nonzero__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self){ return !(self->empty()); } -SWIGINTERN bool std_vector_Sl_btllib_Indexlr_Minimizer_Sg____bool__(std::vector< btllib::Indexlr::Minimizer > const *self){ +SWIGINTERN bool std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____bool__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self){ return !(self->empty()); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer >::size_type std_vector_Sl_btllib_Indexlr_Minimizer_Sg____len__(std::vector< btllib::Indexlr::Minimizer > const *self){ +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____len__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self){ return self->size(); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getslice__(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i,std::vector< btllib::Indexlr::Minimizer >::difference_type j){ +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i,std::vector< btllib::Indexlr::Minimizer >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >()); +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j){ + swig::setslice(self, i, j, 1, std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >()); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i,std::vector< btllib::Indexlr::Minimizer >::difference_type j,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &v){ swig::setslice(self, i, j, 1, v); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i,std::vector< btllib::Indexlr::Minimizer >::difference_type j){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j){ swig::delslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer >::value_type const &std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > const *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i){ +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i){ return *(swig::cgetpos(self, i)); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_2(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i,std::vector< btllib::Indexlr::Minimizer >::value_type const &x){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_2(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_3(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_3(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer >::value_type std_vector_Sl_btllib_Indexlr_Minimizer_Sg__pop(std::vector< btllib::Indexlr::Minimizer > *self){ +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__pop(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self){ if (self->size() == 0) throw std::out_of_range("pop from empty container"); - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::value_type x = self->back(); + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::value_type x = self->back(); self->pop_back(); return x; } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg__append(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::value_type const &x){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__append(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ self->push_back(x); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::iterator pos){ return self->erase(pos); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::iterator first,std::vector< btllib::Indexlr::Minimizer >::iterator last){ return self->erase(first, last); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::iterator pos,std::vector< btllib::Indexlr::Minimizer >::value_type const &x){ return self->insert(pos, x); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::iterator pos,std::vector< btllib::Indexlr::Minimizer >::size_type n,std::vector< btllib::Indexlr::Minimizer >::value_type const &x){ self->insert(pos, n, x); } +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator pos){ return self->erase(pos); } +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator first,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator last){ return self->erase(first, last); } +SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator pos,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ return self->insert(pos, x); } +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator pos,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type n,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ self->insert(pos, n, x); } namespace swig { template <> struct traits >, std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > { @@ -7159,46 +6821,46 @@ SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(std::vector< bt SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -7240,12 +6902,6 @@ SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(std::vector< static_assert(sizeof(long unsigned int) >= sizeof(uint64_t), "Python wrappers are using wrong size integers."); -SWIGINTERN btllib::Indexlr *btllib_Indexlr___enter__(btllib::Indexlr *self){ - return self; - } -SWIGINTERN void btllib_Indexlr___exit__(btllib::Indexlr *self,PyObject *,PyObject *,PyObject *){ - self->close(); - } SWIGINTERNINLINE PyObject * SWIG_FromCharPtr(const char *cptr) @@ -7324,15 +6980,18 @@ SWIGINTERN void delete_btllib_AAHash(btllib::AAHash *self){ nthash_ids.erase((void*)self); } -#include - - SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_short (unsigned short value) { return SWIG_From_unsigned_SS_long (value); } +SWIGINTERN btllib::Indexlr< btllib::NtHash > *btllib_Indexlr_Sl_btllib_NtHash_Sg____enter__(btllib::Indexlr< btllib::NtHash > *self){ + return self; + } +SWIGINTERN void btllib_Indexlr_Sl_btllib_NtHash_Sg____exit__(btllib::Indexlr< btllib::NtHash > *self,PyObject *,PyObject *,PyObject *){ + self->close(); + } #ifdef __cplusplus extern "C" { #endif @@ -7998,7 +7657,6 @@ SWIGINTERN PyObject *_wrap_ios_base_register_callback(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_register_callback", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8031,7 +7689,6 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8056,7 +7713,6 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8082,7 +7738,6 @@ SWIGINTERN PyObject *_wrap_ios_base_flags(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_flags", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8115,7 +7770,6 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_0(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8148,7 +7802,6 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8179,7 +7832,6 @@ SWIGINTERN PyObject *_wrap_ios_base_setf(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_setf", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -8212,7 +7864,6 @@ SWIGINTERN PyObject *_wrap_ios_base_unsetf(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8240,7 +7891,6 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8265,7 +7915,6 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8291,7 +7940,6 @@ SWIGINTERN PyObject *_wrap_ios_base_precision(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_precision", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8321,7 +7969,6 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8346,7 +7993,6 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8372,7 +8018,6 @@ SWIGINTERN PyObject *_wrap_ios_base_width(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_width", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8402,7 +8047,6 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_0(PyObject *self, Py_s int ecode1 = 0 ; bool result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -8421,7 +8065,6 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_1(PyObject *self, Py_s PyObject *resultobj = 0; bool result; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (bool)std::ios_base::sync_with_stdio(); resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -8437,7 +8080,6 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_sync_with_stdio", 0, 1, argv))) SWIG_fail; --argc; if (argc == 0) { @@ -8471,7 +8113,6 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8488,7 +8129,7 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8500,9 +8141,9 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::locale result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_getloc", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8510,7 +8151,7 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::ios_base * >(argp1); result = ((std::ios_base const *)arg1)->getloc(); - resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8521,7 +8162,6 @@ SWIGINTERN PyObject *_wrap_ios_base_xalloc(PyObject *self, PyObject *args) { PyObject *resultobj = 0; int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_xalloc", 0, 0, 0)) SWIG_fail; result = (int)std::ios_base::xalloc(); resultobj = SWIG_From_int(static_cast< int >(result)); @@ -8542,7 +8182,6 @@ SWIGINTERN PyObject *_wrap_ios_base_iword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; long *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8574,7 +8213,6 @@ SWIGINTERN PyObject *_wrap_ios_base_pword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; void **result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8600,8 +8238,8 @@ SWIGINTERN PyObject *_wrap_delete_ios_base(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios_base", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8623,9 +8261,9 @@ SWIGINTERN PyObject *_wrap_ios_rdstate(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::ios_base::iostate result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_rdstate", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8649,7 +8287,6 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8675,7 +8312,6 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, P void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8696,7 +8332,6 @@ SWIGINTERN PyObject *_wrap_ios_clear(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8729,7 +8364,6 @@ SWIGINTERN PyObject *_wrap_ios_setstate(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8755,9 +8389,9 @@ SWIGINTERN PyObject *_wrap_ios_good(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_good", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8777,9 +8411,9 @@ SWIGINTERN PyObject *_wrap_ios_eof(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_eof", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8799,9 +8433,9 @@ SWIGINTERN PyObject *_wrap_ios_fail(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_fail", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8821,9 +8455,9 @@ SWIGINTERN PyObject *_wrap_ios_bad(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_bad", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8845,7 +8479,6 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::iostate result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8869,7 +8502,6 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_1(PyObject *self, Py_ssize_t nob int val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8895,7 +8527,6 @@ SWIGINTERN PyObject *_wrap_ios_exceptions(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_exceptions", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8926,7 +8557,6 @@ SWIGINTERN int _wrap_new_ios(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *swig_obj[1] ; std::basic_ios< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ios")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ios", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8947,8 +8577,8 @@ SWIGINTERN PyObject *_wrap_delete_ios(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8970,7 +8600,6 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8995,7 +8624,6 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9021,7 +8649,6 @@ SWIGINTERN PyObject *_wrap_ios_tie(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_tie", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -9051,7 +8678,6 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int res1 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9076,7 +8702,6 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int res2 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9102,7 +8727,6 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_rdbuf", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -9136,7 +8760,6 @@ SWIGINTERN PyObject *_wrap_ios_copyfmt(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9167,7 +8790,6 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int res1 = 0 ; std::basic_ios< char >::char_type result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9192,7 +8814,6 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode2 = 0 ; std::basic_ios< char >::char_type result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9218,7 +8839,6 @@ SWIGINTERN PyObject *_wrap_ios_fill(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_fill", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -9252,7 +8872,6 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9269,7 +8888,7 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -9290,7 +8909,6 @@ SWIGINTERN PyObject *_wrap_ios_narrow(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; char result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_narrow", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9326,7 +8944,6 @@ SWIGINTERN PyObject *_wrap_ios_widen(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char >::char_type result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9421,7 +9038,6 @@ SWIGINTERN int _wrap_new_ostream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_ostream< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9442,8 +9058,8 @@ SWIGINTERN PyObject *_wrap_delete_ostream(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -9466,7 +9082,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9497,7 +9112,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9528,7 +9142,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9561,7 +9174,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_3(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9593,7 +9205,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_4(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9625,7 +9236,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_5(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9657,7 +9267,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_6(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9689,7 +9298,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_7(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9721,7 +9329,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_8(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9753,7 +9360,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_9(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9785,7 +9391,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_10(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9817,7 +9422,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_11(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9849,7 +9453,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_12(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9881,7 +9484,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_13(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9913,7 +9515,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9952,7 +9553,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_15(PyObject *self, Py_ssize_ int res2 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9983,7 +9583,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10015,7 +9614,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_17(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10046,7 +9644,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift__(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream___lshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10284,7 +9881,6 @@ SWIGINTERN PyObject *_wrap_ostream_put(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -10320,7 +9916,6 @@ SWIGINTERN PyObject *_wrap_ostream_write(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_write", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10352,9 +9947,9 @@ SWIGINTERN PyObject *_wrap_ostream_flush(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_flush", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10374,9 +9969,9 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_ostream< char >::pos_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_tellp", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10384,7 +9979,7 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_ostream< char > * >(argp1); result = (arg1)->tellp(); - resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(static_cast< const std::basic_ostream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -10401,7 +9996,6 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10442,7 +10036,6 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10481,7 +10074,6 @@ SWIGINTERN PyObject *_wrap_ostream_seekp(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream_seekp", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10516,7 +10108,6 @@ SWIGINTERN int _wrap_new_istream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_istream< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_istream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_istream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -10537,8 +10128,8 @@ SWIGINTERN PyObject *_wrap_delete_istream(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_istream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -10561,7 +10152,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10592,7 +10182,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10623,7 +10212,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10656,7 +10244,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_3(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10691,7 +10278,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_4(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10726,7 +10312,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_5(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10761,7 +10346,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_6(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10796,7 +10380,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_7(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10831,7 +10414,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_8(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10866,7 +10448,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_9(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10901,7 +10482,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_10(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10936,7 +10516,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_11(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10971,7 +10550,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_12(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11006,7 +10584,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_13(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11041,7 +10618,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11076,7 +10652,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_15(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11111,7 +10686,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11139,7 +10713,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift__(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream___rshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -11351,9 +10924,9 @@ SWIGINTERN PyObject *_wrap_istream_gcount(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::streamsize result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_gcount", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11375,7 +10948,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = 0 ; std::basic_istream< char >::int_type result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11400,7 +10972,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11440,7 +11011,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11486,7 +11056,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11526,7 +11095,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_4(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11564,7 +11132,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_5(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11593,7 +11160,6 @@ SWIGINTERN PyObject *_wrap_istream_get(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_get", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11678,7 +11244,6 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_0(PyObject *self, Py_ssize_t no int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11724,7 +11289,6 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_1(PyObject *self, Py_ssize_t no int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11757,7 +11321,6 @@ SWIGINTERN PyObject *_wrap_istream_getline(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_getline", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -11793,7 +11356,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_0(PyObject *self, Py_ssize_t nob int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11828,7 +11390,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11855,7 +11416,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_2(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11876,7 +11436,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_ignore", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11910,9 +11469,9 @@ SWIGINTERN PyObject *_wrap_istream_peek(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_istream< char >::int_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_peek", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11942,7 +11501,6 @@ SWIGINTERN PyObject *_wrap_istream_read(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_read", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11984,7 +11542,6 @@ SWIGINTERN PyObject *_wrap_istream_readsome(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::streamsize result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_readsome", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12022,7 +11579,6 @@ SWIGINTERN PyObject *_wrap_istream_putback(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -12048,9 +11604,9 @@ SWIGINTERN PyObject *_wrap_istream_unget(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_unget", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12070,9 +11626,9 @@ SWIGINTERN PyObject *_wrap_istream_sync(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_sync", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12092,9 +11648,9 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_istream< char >::pos_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_tellg", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12102,7 +11658,7 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_istream< char > * >(argp1); result = (arg1)->tellg(); - resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(static_cast< const std::basic_istream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -12119,7 +11675,6 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12160,7 +11715,6 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12199,7 +11753,6 @@ SWIGINTERN PyObject *_wrap_istream_seekg(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_seekg", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -12234,7 +11787,6 @@ SWIGINTERN int _wrap_new_iostream(PyObject *self, PyObject *args, PyObject *kwar PyObject *swig_obj[1] ; std::basic_iostream< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_iostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_iostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -12255,8 +11807,8 @@ SWIGINTERN PyObject *_wrap_delete_iostream(PyObject *self, PyObject *args) { std::basic_iostream< char > *arg1 = (std::basic_iostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_iostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -12281,7 +11833,6 @@ SWIGINTERN PyObject *_wrap_endl(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -12308,7 +11859,6 @@ SWIGINTERN PyObject *_wrap_ends(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -12335,7 +11885,6 @@ SWIGINTERN PyObject *_wrap_flush(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -12359,8 +11908,8 @@ SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SwigPyIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -12380,9 +11929,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_value", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12415,7 +11964,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12450,7 +11998,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12479,7 +12026,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_incr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12512,7 +12058,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12547,7 +12092,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12576,7 +12120,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_decr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12610,7 +12153,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; ptrdiff_t result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12649,7 +12191,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12682,9 +12223,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_copy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12704,9 +12245,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_next", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12734,9 +12275,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12764,9 +12305,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_previous", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12800,7 +12341,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12840,7 +12380,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12877,7 +12416,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12914,7 +12452,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12954,7 +12491,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12994,7 +12530,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -13035,7 +12570,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *self, Py_ssi int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13075,7 +12609,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *self, Py_ssi int res2 = 0 ; ptrdiff_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13106,7 +12639,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator___sub__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13144,10 +12676,10 @@ SWIGINTERN PyObject *_wrap_UCharVector_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13167,9 +12699,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___nonzero__(PyObject *self, PyObject *arg std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13189,9 +12721,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___bool__(PyObject *self, PyObject *args) std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13211,9 +12743,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___len__(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13242,7 +12774,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___getslice__(PyObject *self, PyObject *ar PyObject *swig_obj[3] ; std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13260,7 +12791,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getslice__(PyObject *self, PyObject *ar } arg3 = static_cast< std::vector< unsigned char >::difference_type >(val3); try { - result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13285,7 +12816,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_0(PyObject *self, Py_s ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13303,7 +12833,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_0(PyObject *self, Py_s } arg3 = static_cast< std::vector< unsigned char >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13330,7 +12860,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_1(PyObject *self, Py_s int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13359,7 +12888,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_1(PyObject *self, Py_s arg4 = ptr; } try { - std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg4); + std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13380,7 +12909,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -13416,7 +12944,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___delslice__(PyObject *self, PyObject *ar int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13434,7 +12961,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delslice__(PyObject *self, PyObject *ar } arg3 = static_cast< std::vector< unsigned char >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_char_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_unsigned_SS_char_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13456,7 +12983,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_0(PyObject *self, Py_ss ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13469,7 +12995,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_0(PyObject *self, Py_ss } arg2 = static_cast< std::vector< unsigned char >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13485,12 +13011,11 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_0(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13499,9 +13024,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_0(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_0(arg1,arg2); @@ -13520,13 +13045,12 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_0(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13535,9 +13059,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_0(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; @@ -13569,11 +13093,10 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_0(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13582,9 +13105,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_1(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_1(arg1,arg2); @@ -13603,11 +13126,10 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_1(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13616,9 +13138,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_1(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_1(arg1,arg2); @@ -13640,7 +13162,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem__(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13665,7 +13186,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem__(PyObject *self, PyObject *arg SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharVector___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< unsigned char >::__delitem__(std::vector< unsigned char >::difference_type)\n" - " std::vector< unsigned char >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< unsigned char >::__delitem__(PySliceObject *)\n"); return 0; } @@ -13680,7 +13201,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; std::vector< unsigned char >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13693,7 +13213,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_1(PyObject *self, Py_ss } arg2 = static_cast< std::vector< unsigned char >::difference_type >(val2); try { - result = (std::vector< unsigned char >::value_type *) &std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_1((std::vector< unsigned char > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< unsigned char >::value_type *) &std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_1((std::vector< unsigned char > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -13711,7 +13231,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem__(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13735,7 +13254,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem__(PyObject *self, PyObject *arg fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharVector___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned char >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< unsigned char >::__getitem__(PySliceObject *)\n" " std::vector< unsigned char >::__getitem__(std::vector< unsigned char >::difference_type) const\n"); return 0; } @@ -13754,7 +13273,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_2(PyObject *self, Py_ss unsigned char val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13773,7 +13291,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_2(PyObject *self, Py_ss temp3 = static_cast< std::vector< unsigned char >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned char const &)*arg3); + std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_2(arg1,arg2,(unsigned char const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -13793,7 +13311,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_3(PyObject *self, Py_ss ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13806,7 +13323,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_3(PyObject *self, Py_ss } arg2 = static_cast< std::vector< unsigned char >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13825,7 +13342,6 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem__(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13871,8 +13387,8 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem__(PyObject *self, PyObject *arg fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharVector___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned char >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned char,std::allocator< unsigned char > > const &)\n" - " std::vector< unsigned char >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< unsigned char >::__setitem__(PySliceObject *,std::vector< unsigned char,std::allocator< unsigned char > > const &)\n" + " std::vector< unsigned char >::__setitem__(PySliceObject *)\n" " std::vector< unsigned char >::__setitem__(std::vector< unsigned char >::difference_type,std::vector< unsigned char >::value_type const &)\n" " std::vector< unsigned char >::__setitem__(std::vector< unsigned char >::difference_type)\n"); return 0; @@ -13884,9 +13400,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_pop(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13916,7 +13432,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -13942,7 +13457,6 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_0(PyObject *self, Py_ssize_t nobjs, P PyObject *resultobj = 0; std::vector< unsigned char > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< unsigned char > *)new std::vector< unsigned char >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -13958,7 +13472,6 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int res1 = SWIG_OLDOBJ ; std::vector< unsigned char > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; @@ -13986,9 +13499,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_empty(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14008,9 +13521,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_size(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14035,7 +13548,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -14064,9 +13576,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_begin(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14087,9 +13599,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_end(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14110,9 +13622,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_rbegin(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14133,9 +13645,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_rend(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14156,8 +13668,8 @@ SWIGINTERN PyObject *_wrap_UCharVector_clear(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14177,9 +13689,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_get_allocator(PyObject *self, PyObject *a std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< unsigned char > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14187,7 +13699,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_get_allocator(PyObject *self, PyObject *a } arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); result = ((std::vector< unsigned char > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned char >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_char_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned char >::allocator_type(static_cast< const std::vector< unsigned char >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_char_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -14201,7 +13713,6 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_2(PyObject *self, Py_ssize_t nobjs, P int ecode1 = 0 ; std::vector< unsigned char > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -14221,8 +13732,8 @@ SWIGINTERN PyObject *_wrap_UCharVector_pop_back(PyObject *self, PyObject *args) std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14246,7 +13757,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_resize__SWIG_0(PyObject *self, Py_ssize_t size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14276,7 +13786,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< unsigned char >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14294,7 +13803,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector_erase" "', argument " "2"" of type '" "std::vector< unsigned char >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -14316,7 +13825,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< unsigned char >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14345,7 +13853,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector_erase" "', argument " "3"" of type '" "std::vector< unsigned char >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -14360,7 +13868,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14394,7 +13901,6 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_3(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; std::vector< unsigned char > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -14421,7 +13927,6 @@ SWIGINTERN int _wrap_new_UCharVector(PyObject *self, PyObject *args, PyObject *k 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_UCharVector")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharVector", 0, 2, argv))) SWIG_fail; --argc; @@ -14476,7 +13981,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_push_back(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -14503,9 +14007,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_front(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14526,9 +14030,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_back(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14558,7 +14062,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14597,7 +14100,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_resize__SWIG_1(PyObject *self, Py_ssize_t unsigned char val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14629,7 +14131,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14666,7 +14167,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_0(PyObject *self, Py_ssize_t int ecode3 = 0 ; std::vector< unsigned char >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14690,7 +14190,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_0(PyObject *self, Py_ssize_t } temp3 = static_cast< std::vector< unsigned char >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned char const &)*arg3); + result = std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_0(arg1,arg2,(unsigned char const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -14715,7 +14215,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_1(PyObject *self, Py_ssize_t unsigned char val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14744,7 +14243,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_1(PyObject *self, Py_ssize_t } temp4 = static_cast< std::vector< unsigned char >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned char const &)*arg4); + std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_1(arg1,arg2,arg3,(unsigned char const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -14758,7 +14257,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -14791,7 +14289,6 @@ SWIGINTERN PyObject *_wrap_UCharVector_reserve(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -14817,9 +14314,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_capacity(PyObject *self, PyObject *args) std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned char >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14839,8 +14336,8 @@ SWIGINTERN PyObject *_wrap_delete_UCharVector(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_UCharVector", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -14873,10 +14370,10 @@ SWIGINTERN PyObject *_wrap_VectorString_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14896,9 +14393,9 @@ SWIGINTERN PyObject *_wrap_VectorString___nonzero__(PyObject *self, PyObject *ar std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14918,9 +14415,9 @@ SWIGINTERN PyObject *_wrap_VectorString___bool__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14940,9 +14437,9 @@ SWIGINTERN PyObject *_wrap_VectorString___len__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14971,7 +14468,6 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14989,7 +14485,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15014,7 +14510,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15032,7 +14527,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15059,7 +14554,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15088,7 +14582,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::string,std::allocator< std::string > > const &)*arg4); + std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15109,7 +14603,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -15145,7 +14638,6 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15163,7 +14655,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_std_string_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15185,7 +14677,6 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15198,7 +14689,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15214,12 +14705,11 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15228,9 +14718,9 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getitem____SWIG_0(arg1,arg2); @@ -15249,13 +14739,12 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15264,9 +14753,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -15298,11 +14787,10 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15311,9 +14799,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____setitem____SWIG_1(arg1,arg2); @@ -15332,11 +14820,10 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15345,9 +14832,9 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____delitem____SWIG_1(arg1,arg2); @@ -15369,7 +14856,6 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15394,7 +14880,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< std::string >::__delitem__(std::vector< std::string >::difference_type)\n" - " std::vector< std::string >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< std::string >::__delitem__(PySliceObject *)\n"); return 0; } @@ -15409,7 +14895,6 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< std::string >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15422,7 +14907,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -15440,7 +14925,6 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15464,7 +14948,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< std::string >::__getitem__(PySliceObject *)\n" " std::vector< std::string >::__getitem__(std::vector< std::string >::difference_type) const\n"); return 0; } @@ -15481,7 +14965,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15505,7 +14988,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s arg3 = ptr; } try { - std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); + std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,arg2,(std::string const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -15527,7 +15010,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15540,7 +15022,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15559,7 +15041,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15605,8 +15086,8 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::string,std::allocator< std::string > > const &)\n" - " std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< std::string >::__setitem__(PySliceObject *,std::vector< std::string,std::allocator< std::string > > const &)\n" + " std::vector< std::string >::__setitem__(PySliceObject *)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type,std::vector< std::string >::value_type const &)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type)\n"); return 0; @@ -15618,9 +15099,9 @@ SWIGINTERN PyObject *_wrap_VectorString_pop(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15648,7 +15129,6 @@ SWIGINTERN PyObject *_wrap_VectorString_append(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -15681,7 +15161,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< std::string > *)new std::vector< std::string >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -15697,7 +15176,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -15725,9 +15203,9 @@ SWIGINTERN PyObject *_wrap_VectorString_empty(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15747,9 +15225,9 @@ SWIGINTERN PyObject *_wrap_VectorString_size(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15774,7 +15252,6 @@ SWIGINTERN PyObject *_wrap_VectorString_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -15803,9 +15280,9 @@ SWIGINTERN PyObject *_wrap_VectorString_begin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15826,9 +15303,9 @@ SWIGINTERN PyObject *_wrap_VectorString_end(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15849,9 +15326,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rbegin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15872,9 +15349,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rend(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15895,8 +15372,8 @@ SWIGINTERN PyObject *_wrap_VectorString_clear(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15916,9 +15393,9 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::string > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15926,7 +15403,7 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * } arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); result = ((std::vector< std::string > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -15940,7 +15417,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -15960,8 +15436,8 @@ SWIGINTERN PyObject *_wrap_VectorString_pop_back(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15985,7 +15461,6 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16015,7 +15490,6 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< std::string >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16033,7 +15507,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -16055,7 +15529,6 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< std::string >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16084,7 +15557,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -16099,7 +15572,6 @@ SWIGINTERN PyObject *_wrap_VectorString_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16131,7 +15603,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_3(PyObject *self, Py_ssize_t nobjs, int res2 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -16165,7 +15636,6 @@ SWIGINTERN int _wrap_new_VectorString(PyObject *self, PyObject *args, PyObject * 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorString")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorString", 0, 2, argv))) SWIG_fail; --argc; @@ -16218,7 +15688,6 @@ SWIGINTERN PyObject *_wrap_VectorString_push_back(PyObject *self, PyObject *args int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -16252,9 +15721,9 @@ SWIGINTERN PyObject *_wrap_VectorString_front(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16275,9 +15744,9 @@ SWIGINTERN PyObject *_wrap_VectorString_back(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16305,7 +15774,6 @@ SWIGINTERN PyObject *_wrap_VectorString_assign(PyObject *self, PyObject *args) { int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16349,7 +15817,6 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16388,7 +15855,6 @@ SWIGINTERN PyObject *_wrap_VectorString_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16423,7 +15889,6 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ int res3 = SWIG_OLDOBJ ; std::vector< std::string >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16452,7 +15917,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ } arg3 = ptr; } - result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); + result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,arg2,(std::string const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -16477,7 +15942,6 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16511,7 +15975,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ } arg4 = ptr; } - std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::string const &)*arg4); + std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::string const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -16527,7 +15991,6 @@ SWIGINTERN PyObject *_wrap_VectorString_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16560,7 +16023,6 @@ SWIGINTERN PyObject *_wrap_VectorString_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -16586,9 +16048,9 @@ SWIGINTERN PyObject *_wrap_VectorString_capacity(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16608,8 +16070,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorString(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorString", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -16642,10 +16104,10 @@ SWIGINTERN PyObject *_wrap_VectorInt_iterator(PyObject *self, PyObject *args) { PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16665,9 +16127,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___nonzero__(PyObject *self, PyObject *args) std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16687,9 +16149,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___bool__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16709,9 +16171,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___len__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16740,7 +16202,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args PyObject *swig_obj[3] ; std::vector< int,std::allocator< int > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16758,7 +16219,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16783,7 +16244,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16801,7 +16261,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16828,7 +16288,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16857,7 +16316,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi arg4 = ptr; } try { - std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< int,std::allocator< int > > const &)*arg4); + std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16878,7 +16337,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice__(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16914,7 +16372,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16932,7 +16389,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_int_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16954,7 +16411,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16967,7 +16423,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16983,12 +16439,11 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int,std::allocator< int > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16997,9 +16452,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -17018,13 +16473,12 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< int,std::allocator< int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17033,9 +16487,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -17067,11 +16521,10 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17080,9 +16533,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -17101,11 +16554,10 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17114,9 +16566,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -17138,7 +16590,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17163,7 +16614,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< int >::__delitem__(std::vector< int >::difference_type)\n" - " std::vector< int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< int >::__delitem__(PySliceObject *)\n"); return 0; } @@ -17178,7 +16629,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz int ecode2 = 0 ; std::vector< int >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17191,7 +16641,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -17209,7 +16659,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17233,7 +16682,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< int >::__getitem__(PySliceObject *)\n" " std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n"); return 0; } @@ -17252,7 +16701,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17271,7 +16719,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); + std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,arg2,(int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -17291,7 +16739,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17304,7 +16751,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -17323,7 +16770,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17369,8 +16815,8 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< int,std::allocator< int > > const &)\n" - " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< int >::__setitem__(PySliceObject *,std::vector< int,std::allocator< int > > const &)\n" + " std::vector< int >::__setitem__(PySliceObject *)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type)\n"); return 0; @@ -17382,9 +16828,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17414,7 +16860,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -17440,7 +16885,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO PyObject *resultobj = 0; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< int > *)new std::vector< int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -17456,7 +16900,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res1 = SWIG_OLDOBJ ; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -17484,9 +16927,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_empty(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17506,9 +16949,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_size(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17533,7 +16976,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -17562,9 +17004,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_begin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17585,9 +17027,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_end(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17608,9 +17050,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rbegin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17631,9 +17073,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rend(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17654,8 +17096,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_clear(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17675,9 +17117,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< int > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17685,7 +17127,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg } arg1 = reinterpret_cast< std::vector< int > * >(argp1); result = ((std::vector< int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -17699,7 +17141,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int ecode1 = 0 ; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17719,8 +17160,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17744,7 +17185,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_0(PyObject *self, Py_ssize_t n size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17774,7 +17214,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no int res2 ; std::vector< int >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17792,7 +17231,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17814,7 +17253,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no int res3 ; std::vector< int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17843,7 +17281,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17858,7 +17296,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17892,7 +17329,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17919,7 +17355,6 @@ SWIGINTERN int _wrap_new_VectorInt(PyObject *self, PyObject *args, PyObject *kwa 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorInt")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt", 0, 2, argv))) SWIG_fail; --argc; @@ -17974,7 +17409,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_push_back(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -18001,9 +17435,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_front(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18024,9 +17458,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18056,7 +17490,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18095,7 +17528,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_1(PyObject *self, Py_ssize_t n int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18127,7 +17559,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18164,7 +17595,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n int ecode3 = 0 ; std::vector< int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18188,7 +17618,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n } temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); + result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,arg2,(int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -18213,7 +17643,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n int val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18242,7 +17671,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n } temp4 = static_cast< std::vector< int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(int const &)*arg4); + std_vector_Sl_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -18256,7 +17685,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -18289,7 +17717,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_reserve(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -18315,9 +17742,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_capacity(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18337,8 +17764,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorInt(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorInt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -18371,10 +17798,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_iterator(PyObject *self, PyObject *arg PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18394,9 +17821,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___nonzero__(PyObject *self, PyObject * std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18416,9 +17843,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___bool__(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18438,9 +17865,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___len__(PyObject *self, PyObject *args std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18469,7 +17896,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18487,7 +17913,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18512,7 +17938,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18530,7 +17955,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18557,7 +17982,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18586,7 +18010,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P arg4 = ptr; } try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18607,7 +18031,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -18643,7 +18066,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18661,7 +18083,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18683,7 +18105,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18696,7 +18117,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18712,12 +18133,11 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18726,9 +18146,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -18747,13 +18167,12 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18762,9 +18181,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -18796,11 +18215,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18809,9 +18227,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -18830,11 +18248,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18843,9 +18260,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -18867,7 +18284,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18892,7 +18308,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< unsigned int >::__delitem__(std::vector< unsigned int >::difference_type)\n" - " std::vector< unsigned int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< unsigned int >::__delitem__(PySliceObject *)\n"); return 0; } @@ -18907,7 +18323,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py int ecode2 = 0 ; std::vector< unsigned int >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18920,7 +18335,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18938,7 +18353,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18962,7 +18376,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< unsigned int >::__getitem__(PySliceObject *)\n" " std::vector< unsigned int >::__getitem__(std::vector< unsigned int >::difference_type) const\n"); return 0; } @@ -18981,7 +18395,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19000,7 +18413,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,arg2,(unsigned int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -19020,7 +18433,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19033,7 +18445,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19052,7 +18464,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19098,8 +18509,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" - " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< unsigned int >::__setitem__(PySliceObject *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" + " std::vector< unsigned int >::__setitem__(PySliceObject *)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::value_type const &)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type)\n"); return 0; @@ -19111,9 +18522,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19143,7 +18554,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -19169,7 +18579,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_0(PyObject *self, Py_ssize_t nobjs PyObject *resultobj = 0; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< unsigned int > *)new std::vector< unsigned int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -19185,7 +18594,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_1(PyObject *self, Py_ssize_t nobjs int res1 = SWIG_OLDOBJ ; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -19213,9 +18621,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_empty(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19235,9 +18643,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_size(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19262,7 +18670,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -19291,9 +18698,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_begin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19314,9 +18721,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_end(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19337,9 +18744,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rbegin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19360,9 +18767,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rend(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19383,8 +18790,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_clear(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19404,9 +18811,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< unsigned int > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19414,7 +18821,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); result = ((std::vector< unsigned int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(static_cast< const std::vector< unsigned int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -19428,7 +18835,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_2(PyObject *self, Py_ssize_t nobjs int ecode1 = 0 ; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -19448,8 +18854,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop_back(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19473,7 +18879,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_0(PyObject *self, Py_ssiz size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19503,7 +18908,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize int res2 ; std::vector< unsigned int >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19521,7 +18925,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19543,7 +18947,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize int res3 ; std::vector< unsigned int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19572,7 +18975,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "3"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19587,7 +18990,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19621,7 +19023,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_3(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -19648,7 +19049,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned(PyObject *self, PyObject *args, PyObject 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUnsigned")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUnsigned", 0, 2, argv))) SWIG_fail; --argc; @@ -19703,7 +19103,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_push_back(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -19730,9 +19129,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_front(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19753,9 +19152,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_back(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19785,7 +19184,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19824,7 +19222,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_1(PyObject *self, Py_ssiz unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19856,7 +19253,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19893,7 +19289,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz int ecode3 = 0 ; std::vector< unsigned int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19917,7 +19312,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz } temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); + result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,arg2,(unsigned int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19942,7 +19337,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz unsigned int val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19971,7 +19365,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz } temp4 = static_cast< std::vector< unsigned int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned int const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(unsigned int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -19985,7 +19379,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -20018,7 +19411,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_reserve(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -20044,9 +19436,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_capacity(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20066,8 +19458,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUnsigned(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUnsigned", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -20100,10 +19492,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20123,9 +19515,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___nonzero__(PyObject *self, PyObject *ar std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20145,9 +19537,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___bool__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20167,9 +19559,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___len__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20198,7 +19590,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< double,std::allocator< double > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20216,7 +19607,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20241,7 +19632,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20259,7 +19649,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20286,7 +19676,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20315,7 +19704,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< double,std::allocator< double > > const &)*arg4); + std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20336,7 +19725,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -20372,7 +19760,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20390,7 +19777,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_double_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20412,7 +19799,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20425,7 +19811,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20441,12 +19827,11 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double,std::allocator< double > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20455,9 +19840,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2); @@ -20476,13 +19861,12 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< double,std::allocator< double > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20491,9 +19875,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -20525,11 +19909,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20538,9 +19921,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2); @@ -20559,11 +19942,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20572,9 +19954,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2); @@ -20596,7 +19978,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20621,7 +20002,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< double >::__delitem__(std::vector< double >::difference_type)\n" - " std::vector< double >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< double >::__delitem__(PySliceObject *)\n"); return 0; } @@ -20636,7 +20017,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< double >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20649,7 +20029,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -20667,7 +20047,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20691,7 +20070,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< double >::__getitem__(PySliceObject *)\n" " std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n"); return 0; } @@ -20710,7 +20089,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s double val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20729,7 +20107,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); + std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -20749,7 +20127,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20762,7 +20139,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20781,7 +20158,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20827,8 +20203,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< double,std::allocator< double > > const &)\n" - " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< double >::__setitem__(PySliceObject *,std::vector< double,std::allocator< double > > const &)\n" + " std::vector< double >::__setitem__(PySliceObject *)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type)\n"); return 0; @@ -20840,9 +20216,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20872,7 +20248,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -20898,7 +20273,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< double > *)new std::vector< double >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -20914,7 +20288,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -20942,9 +20315,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_empty(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20964,9 +20337,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_size(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20991,7 +20364,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -21020,9 +20392,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_begin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21043,9 +20415,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_end(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21066,9 +20438,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rbegin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21089,9 +20461,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rend(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21112,8 +20484,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_clear(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21133,9 +20505,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< double > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21143,7 +20515,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * } arg1 = reinterpret_cast< std::vector< double > * >(argp1); result = ((std::vector< double > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -21157,7 +20529,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -21177,8 +20548,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop_back(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21202,7 +20573,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21232,7 +20602,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< double >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21250,7 +20619,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21272,7 +20641,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< double >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21301,7 +20669,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21316,7 +20684,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21350,7 +20717,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -21377,7 +20743,6 @@ SWIGINTERN int _wrap_new_VectorDouble(PyObject *self, PyObject *args, PyObject * 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorDouble")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorDouble", 0, 2, argv))) SWIG_fail; --argc; @@ -21432,7 +20797,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_push_back(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -21459,9 +20823,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_front(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21482,9 +20846,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_back(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21514,7 +20878,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21553,7 +20916,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_1(PyObject *self, Py_ssize_ double val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21585,7 +20947,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21622,7 +20983,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ int ecode3 = 0 ; std::vector< double >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21646,7 +21006,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ } temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); + result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,arg2,(double const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21671,7 +21031,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ double val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21700,7 +21059,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ } temp4 = static_cast< std::vector< double >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_double_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(double const &)*arg4); + std_vector_Sl_double_Sg__insert__SWIG_1(arg1,arg2,arg3,(double const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -21714,7 +21073,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -21747,7 +21105,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -21773,9 +21130,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_capacity(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21795,8 +21152,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorDouble(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorDouble", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -21829,10 +21186,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_iterator(PyObject *self, PyObject *args PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21852,9 +21209,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___nonzero__(PyObject *self, PyObject *a std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21874,9 +21231,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___bool__(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21896,9 +21253,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___len__(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21927,7 +21284,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * PyObject *swig_obj[3] ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21945,7 +21301,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21970,7 +21326,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21988,7 +21343,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22015,7 +21370,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22044,7 +21398,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py arg4 = ptr; } try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22065,7 +21419,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -22101,7 +21454,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22119,7 +21471,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_uint64_t_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22141,7 +21493,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22154,7 +21505,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22170,12 +21521,11 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22184,9 +21534,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(arg1,arg2); @@ -22205,13 +21555,12 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22220,9 +21569,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -22254,11 +21603,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22267,9 +21615,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(arg1,arg2); @@ -22288,11 +21636,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22301,9 +21648,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(arg1,arg2); @@ -22325,7 +21672,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22350,7 +21696,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< uint64_t >::__delitem__(std::vector< uint64_t >::difference_type)\n" - " std::vector< uint64_t >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< uint64_t >::__delitem__(PySliceObject *)\n"); return 0; } @@ -22365,7 +21711,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ int ecode2 = 0 ; std::vector< uint64_t >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22378,7 +21723,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -22396,7 +21741,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22420,7 +21764,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< uint64_t >::__getitem__(PySliceObject *)\n" " std::vector< uint64_t >::__getitem__(std::vector< uint64_t >::difference_type) const\n"); return 0; } @@ -22439,7 +21783,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ uint64_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22458,7 +21801,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,arg2,(uint64_t const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -22478,7 +21821,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22491,7 +21833,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22510,7 +21852,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22556,8 +21897,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" - " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< uint64_t >::__setitem__(PySliceObject *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" + " std::vector< uint64_t >::__setitem__(PySliceObject *)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type,std::vector< uint64_t >::value_type const &)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type)\n"); return 0; @@ -22569,9 +21910,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22601,7 +21942,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -22627,7 +21967,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< uint64_t > *)new std::vector< uint64_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -22643,7 +21982,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -22671,9 +22009,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_empty(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22693,9 +22031,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_size(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22720,7 +22058,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -22749,9 +22086,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_begin(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22772,9 +22109,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_end(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22795,9 +22132,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rbegin(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22818,9 +22155,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rend(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22841,8 +22178,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_clear(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22862,9 +22199,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< uint64_t > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22872,7 +22209,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); result = ((std::vector< uint64_t > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(static_cast< const std::vector< uint64_t >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -22886,7 +22223,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22906,8 +22242,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop_back(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22931,7 +22267,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_0(PyObject *self, Py_ssize size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22961,7 +22296,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ int res2 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22979,7 +22313,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "2"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -23001,7 +22335,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ int res3 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23030,7 +22363,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "3"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -23045,7 +22378,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23079,7 +22411,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -23106,7 +22437,6 @@ SWIGINTERN int _wrap_new_VectorUint64t(PyObject *self, PyObject *args, PyObject 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUint64t")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint64t", 0, 2, argv))) SWIG_fail; --argc; @@ -23161,7 +22491,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_push_back(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -23188,9 +22517,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_front(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23211,9 +22540,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_back(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23243,7 +22572,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23282,7 +22610,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_1(PyObject *self, Py_ssize uint64_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23314,7 +22641,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23351,7 +22677,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize int ecode3 = 0 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23375,7 +22700,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize } temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); + result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,arg2,(uint64_t const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -23400,7 +22725,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize uint64_t val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23429,7 +22753,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize } temp4 = static_cast< std::vector< uint64_t >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(uint64_t const &)*arg4); + std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,arg2,arg3,(uint64_t const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -23443,7 +22767,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -23476,7 +22799,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -23502,9 +22824,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_capacity(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23524,8 +22846,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUint64t(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUint64t", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -23554,21 +22876,21 @@ SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_VectorUint64t) /* defines _wrap_delete_Ve SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_iterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_iterator" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_iterator" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = (swig::SwigPyIterator *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg__iterator(arg1,arg2); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = (swig::SwigPyIterator *)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__iterator(arg1,arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: @@ -23578,19 +22900,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___nonzero__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___nonzero__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = (bool)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____nonzero__((std::vector< btllib::Indexlr::Minimizer > const *)arg1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = (bool)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____nonzero__((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -23600,19 +22922,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___bool__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___bool__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___bool__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = (bool)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____bool__((std::vector< btllib::Indexlr::Minimizer > const *)arg1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = (bool)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____bool__((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -23622,19 +22944,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___len__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___len__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___len__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg____len__((std::vector< btllib::Indexlr::Minimizer > const *)arg1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____len__((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -23644,9 +22966,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *arg SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg3 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23654,33 +22976,32 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject ptrdiff_t val3 ; int ecode3 = 0 ; PyObject *swig_obj[3] ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___getslice__", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___getslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___getslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); try { - result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23689,9 +23010,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg3 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23699,25 +23020,24 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23732,10 +23052,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg3 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg4 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23744,36 +23064,35 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); { - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; res4 = swig::asptr(swig_obj[3], &ptr); if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); } arg4 = ptr; } try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)*arg4); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23794,7 +23113,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -23811,17 +23129,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__setslice__(std::vector< btllib::Indexlr::Minimizer >::difference_type,std::vector< btllib::Indexlr::Minimizer >::difference_type)\n" - " std::vector< btllib::Indexlr::Minimizer >::__setslice__(std::vector< btllib::Indexlr::Minimizer >::difference_type,std::vector< btllib::Indexlr::Minimizer >::difference_type,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg3 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23830,25 +23148,24 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___delslice__", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___delslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___delslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23863,27 +23180,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23898,33 +23214,32 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { - result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(arg1,arg2); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23933,39 +23248,38 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg3 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; res3 = swig::asptr(swig_obj[2], &ptr); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); } arg3 = ptr; } try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)*arg3); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23982,26 +23296,25 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(arg1,arg2); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_1(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24016,26 +23329,25 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(arg1,arg2); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_1(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24054,7 +23366,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24078,41 +23389,40 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___delitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__delitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type)\n" - " std::vector< btllib::Indexlr::Minimizer >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__delitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__delitem__(PySliceObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); try { - result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr::Minimizer > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - (void)swig::container_owner::value_type>::category>::back_reference(resultobj, self); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + (void)swig::container_owner::Minimizer >::value_type>::category>::back_reference(resultobj, self); return resultobj; fail: return NULL; @@ -24125,7 +23435,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24149,17 +23458,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__getitem__(SWIGPY_SLICEOBJECT *)\n" - " std::vector< btllib::Indexlr::Minimizer >::__getitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type) const\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__getitem__(PySliceObject *)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__getitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type) const\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -24167,28 +23476,27 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P void *argp3 = 0 ; int res3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); + arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(btllib::Indexlr::Minimizer const &)*arg3); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_2(arg1,arg2,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -24201,27 +23509,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::difference_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24240,7 +23547,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24269,7 +23575,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject } if (!_v) goto check_3; { - int res = swig::asptr(argv[2], (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >**)(0)); + int res = swig::asptr(argv[2], (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >**)(0)); _v = SWIG_CheckState(res); } if (!_v) goto check_3; @@ -24286,34 +23592,34 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *)\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(PySliceObject *,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(PySliceObject *)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::value_type result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); try { - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__pop(arg1); + result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__pop(arg1); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::value_type(result)), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -24322,31 +23628,30 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg2 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_append" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_append" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp2); - std_vector_Sl_btllib_Indexlr_Minimizer_Sg__append(arg1,(btllib::Indexlr::Minimizer const &)*arg2); + arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp2); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__append(arg1,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24356,12 +23661,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (std::vector< btllib::Indexlr::Minimizer > *)new std::vector< btllib::Indexlr::Minimizer >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; @@ -24370,25 +23674,24 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobj SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; res1 = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &""'"); } arg1 = ptr; } - result = (std::vector< btllib::Indexlr::Minimizer > *)new std::vector< btllib::Indexlr::Minimizer >((std::vector< btllib::Indexlr::Minimizer > const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -24399,19 +23702,19 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobj SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_empty", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_empty" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_empty" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = (bool)((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->empty(); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = (bool)((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->empty(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -24421,19 +23724,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_size" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_size" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = ((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->size(); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = ((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->size(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -24443,30 +23746,29 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer > *arg2 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_swap" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_swap" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 ); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer > &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer > &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp2); + arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp2); (arg1)->swap(*arg2); resultobj = SWIG_Py_Void(); return resultobj; @@ -24477,20 +23779,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_begin", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_begin" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_begin" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24500,20 +23802,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_end", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_end" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_end" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); result = (arg1)->end(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24523,20 +23825,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::reverse_iterator result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rbegin", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rbegin" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rbegin" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); result = (arg1)->rbegin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::reverse_iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24546,20 +23848,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::reverse_iterator result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rend", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rend" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rend" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); result = (arg1)->rend(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::reverse_iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24569,17 +23871,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_clear", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_clear" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_clear" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; @@ -24590,20 +23892,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - SwigValueWrapper< std::allocator< btllib::Indexlr::Minimizer > > result; + PyObject *swig_obj[1] ; + SwigValueWrapper< std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_get_allocator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_get_allocator" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_get_allocator" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = ((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = ((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::allocator_type(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -24612,20 +23914,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer >::size_type arg1 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg1 ; size_t val1 ; int ecode1 = 0 ; - std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg1 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val1); - result = (std::vector< btllib::Indexlr::Minimizer > *)new std::vector< btllib::Indexlr::Minimizer >(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + arg1 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val1); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; @@ -24634,17 +23935,17 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobj SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); (arg1)->pop_back(); resultobj = SWIG_Py_Void(); return resultobj; @@ -24655,25 +23956,24 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); (arg1)->resize(arg2); resultobj = SWIG_Py_Void(); return resultobj; @@ -24684,34 +23984,33 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssi SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ; - std::vector< btllib::Indexlr::Minimizer >::iterator result; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); + swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), + result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_0(arg1,arg2); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24721,48 +24020,47 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator arg2 ; - std::vector< btllib::Indexlr::Minimizer >::iterator arg3 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg3 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ; swig::SwigPyIterator *iter3 = 0 ; int res3 ; - std::vector< btllib::Indexlr::Minimizer >::iterator result; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); + swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } } res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res3) || !iter3) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter3); + swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter3); if (iter_t) { arg3 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), + result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_1(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24776,7 +24074,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24793,39 +24090,38 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer_erase'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::erase(std::vector< btllib::Indexlr::Minimizer >::iterator)\n" - " std::vector< btllib::Indexlr::Minimizer >::erase(std::vector< btllib::Indexlr::Minimizer >::iterator,std::vector< btllib::Indexlr::Minimizer >::iterator)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::erase(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::erase(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator)\n"); return 0; } SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer >::size_type arg1 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg2 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg1 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg2 = 0 ; size_t val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg1 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg1 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp2); - result = (std::vector< btllib::Indexlr::Minimizer > *)new std::vector< btllib::Indexlr::Minimizer >(arg1,(std::vector< btllib::Indexlr::Minimizer >::value_type const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp2); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >(arg1,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; @@ -24838,7 +24134,6 @@ SWIGINTERN int _wrap_new_VectorMinimizer(PyObject *self, PyObject *args, PyObjec 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorMinimizer")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorMinimizer", 0, 2, argv))) SWIG_fail; --argc; @@ -24874,41 +24169,40 @@ SWIGINTERN int _wrap_new_VectorMinimizer(PyObject *self, PyObject *args, PyObjec fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorMinimizer'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::vector()\n" - " std::vector< btllib::Indexlr::Minimizer >::vector(std::vector< btllib::Indexlr::Minimizer > const &)\n" - " std::vector< btllib::Indexlr::Minimizer >::vector(std::vector< btllib::Indexlr::Minimizer >::size_type)\n" - " std::vector< btllib::Indexlr::Minimizer >::vector(std::vector< btllib::Indexlr::Minimizer >::size_type,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector()\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n"); return -1; } SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg2 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_push_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_push_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp2); - (arg1)->push_back((std::vector< btllib::Indexlr::Minimizer >::value_type const &)*arg2); + arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp2); + (arg1)->push_back((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24918,21 +24212,21 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *a SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_front", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_front" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_front" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->front(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - (void)swig::container_owner::value_type>::category>::back_reference(resultobj, self); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *) &((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->front(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + (void)swig::container_owner::Minimizer >::value_type>::category>::back_reference(resultobj, self); return resultobj; fail: return NULL; @@ -24941,21 +24235,21 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->back(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - (void)swig::container_owner::value_type>::category>::back_reference(resultobj, self); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *) &((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->back(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + (void)swig::container_owner::Minimizer >::value_type>::category>::back_reference(resultobj, self); return resultobj; fail: return NULL; @@ -24964,9 +24258,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -24975,27 +24269,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args int res3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_assign", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_assign" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_assign" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_assign" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_assign" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val2); - res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); + res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); - (arg1)->assign(arg2,(std::vector< btllib::Indexlr::Minimizer >::value_type const &)*arg3); + arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); + (arg1)->assign(arg2,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -25005,9 +24298,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type arg2 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -25015,27 +24308,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssi void *argp3 = 0 ; int res3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); - (arg1)->resize(arg2,(std::vector< btllib::Indexlr::Minimizer >::value_type const &)*arg3); + arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); + (arg1)->resize(arg2,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -25049,7 +24341,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25066,53 +24357,52 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer_resize'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::resize(std::vector< btllib::Indexlr::Minimizer >::size_type)\n" - " std::vector< btllib::Indexlr::Minimizer >::resize(std::vector< btllib::Indexlr::Minimizer >::size_type,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::resize(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::resize(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator arg2 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ; void *argp3 = 0 ; int res3 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator result; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); + swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } } - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(btllib::Indexlr::Minimizer const &)*arg3); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), + arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); + result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_0(arg1,arg2,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg3); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -25122,10 +24412,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::iterator arg2 ; - std::vector< btllib::Indexlr::Minimizer >::size_type arg3 ; - std::vector< btllib::Indexlr::Minimizer >::value_type *arg4 = 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg3 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; @@ -25135,38 +24425,37 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi void *argp4 = 0 ; int res4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); + swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); } } ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0); + arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); } - arg4 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp4); - std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(btllib::Indexlr::Minimizer const &)*arg4); + arg4 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp4); + std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_1(arg1,arg2,arg3,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -25180,7 +24469,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -25197,35 +24485,34 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer_insert'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::insert(std::vector< btllib::Indexlr::Minimizer >::iterator,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n" - " std::vector< btllib::Indexlr::Minimizer >::insert(std::vector< btllib::Indexlr::Minimizer >::iterator,std::vector< btllib::Indexlr::Minimizer >::size_type,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n"); + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::insert(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n" + " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::insert(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type arg2 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_reserve" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_reserve" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_reserve" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_reserve" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::size_type >(val2); + arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); (arg1)->reserve(arg2); resultobj = SWIG_Py_Void(); return resultobj; @@ -25236,19 +24523,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *arg SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer >::size_type result; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_capacity", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_capacity" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_capacity" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); - result = ((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->capacity(); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + result = ((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->capacity(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -25258,17 +24545,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_delete_VectorMinimizer(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorMinimizer", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -25295,10 +24582,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_iterator(PyObject *self, PyObject *a PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25318,9 +24605,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___nonzero__(PyObject *self, PyObject std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25340,9 +24627,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___bool__(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25362,9 +24649,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___len__(PyObject *self, PyObject *ar std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25393,7 +24680,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec PyObject *swig_obj[3] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25411,7 +24697,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25436,7 +24722,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25454,7 +24739,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25481,7 +24766,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25510,7 +24794,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25531,7 +24815,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice__(PyObject *self, PyObjec 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -25567,7 +24850,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25585,7 +24867,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25607,7 +24889,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25620,7 +24901,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25636,12 +24917,11 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25650,9 +24930,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(arg1,arg2); @@ -25671,13 +24951,12 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25686,9 +24965,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -25720,11 +24999,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25733,9 +25011,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(arg1,arg2); @@ -25754,11 +25032,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25767,9 +25044,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(arg1,arg2); @@ -25791,7 +25068,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25816,7 +25092,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::SpacedSeed >::__delitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n" - " std::vector< btllib::SpacedSeed >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< btllib::SpacedSeed >::__delitem__(PySliceObject *)\n"); return 0; } @@ -25831,7 +25107,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, int ecode2 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25844,7 +25119,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -25862,7 +25137,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25886,7 +25160,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< btllib::SpacedSeed >::__getitem__(PySliceObject *)\n" " std::vector< btllib::SpacedSeed >::__getitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type) const\n"); return 0; } @@ -25903,7 +25177,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25927,7 +25200,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, arg3 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -25949,7 +25222,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25962,7 +25234,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25981,7 +25253,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26027,8 +25298,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" - " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type const &)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n"); return 0; @@ -26040,9 +25311,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26070,7 +25341,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_append(PyObject *self, PyObject *arg int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -26103,7 +25373,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_0(PyObject *self, Py_ssize_t nob PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::SpacedSeed > *)new std::vector< btllib::SpacedSeed >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -26119,7 +25388,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_1(PyObject *self, Py_ssize_t nob int res1 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -26147,9 +25415,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_empty(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26169,9 +25437,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_size(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26196,7 +25464,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -26225,9 +25492,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_begin(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26248,9 +25515,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_end(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26271,9 +25538,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rbegin(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26294,9 +25561,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rend(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26317,8 +25584,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_clear(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26338,9 +25605,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26348,7 +25615,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje } arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); result = ((std::vector< btllib::SpacedSeed > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -26362,7 +25629,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_2(PyObject *self, Py_ssize_t nob int ecode1 = 0 ; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26382,8 +25648,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop_back(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26407,7 +25673,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_0(PyObject *self, Py_ss size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26437,7 +25702,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi int res2 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26455,7 +25719,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -26477,7 +25741,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi int res3 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26506,7 +25769,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "3"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -26521,7 +25784,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26553,7 +25815,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_3(PyObject *self, Py_ssize_t nob int res2 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26587,7 +25848,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed(PyObject *self, PyObject *args, PyObje 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorSpacedSeed")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorSpacedSeed", 0, 2, argv))) SWIG_fail; --argc; @@ -26640,7 +25900,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_push_back(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -26674,9 +25933,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_front(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26697,9 +25956,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_back(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26727,7 +25986,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_assign(PyObject *self, PyObject *arg int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26771,7 +26029,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26810,7 +26067,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26845,7 +26101,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss int res3 = SWIG_OLDOBJ ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26874,7 +26129,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss } arg3 = ptr; } - result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -26899,7 +26154,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26933,7 +26187,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss } arg4 = ptr; } - std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -26949,7 +26203,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -26982,7 +26235,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_reserve(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -27008,9 +26260,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_capacity(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27030,8 +26282,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorSpacedSeed(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorSpacedSeed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -27058,1301 +26310,822 @@ SWIGPY_OBJOBJARGPROC_CLOSURE(_wrap_VectorSpacedSeed___setitem__) /* defines _wra SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_VectorSpacedSeed) /* defines _wrap_delete_VectorSpacedSeed_destructor_closure */ -SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_id" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_id(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; +SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); + return 1; } -SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN PyObject *Swig_var_BIT_MASKS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_bx" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_bx(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::BIT_MASKS), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_seq" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_seq(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::BLOOM_FILTER_SIGNATURE); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_KMER_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable KMER_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_KMER_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_qual" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_qual(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::KMER_BLOOM_FILTER_SIGNATURE); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_SEED_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_in" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->filter_in(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::SEED_BLOOM_FILTER_SIGNATURE); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_HASH_FN_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable HASH_FN is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_HASH_FN_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_out" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->filter_out(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::HASH_FN); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_MAX_HASH_VALUES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MAX_HASH_VALUES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MAX_HASH_VALUES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_short_mode" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->short_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::MAX_HASH_VALUES)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_long_mode" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->long_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::Indexlr::Record result; + btllib::BloomFilter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_read" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(result)), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::BloomFilter *)new btllib::BloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - btllib::BloomFilter *arg7 = 0 ; - btllib::BloomFilter *arg8 = 0 ; - size_t val2 ; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *result = 0 ; - (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); { std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BloomFilter" "', argument " "3"" of type '" "std::string""'"); } - arg1 = *ptr; + arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::BloomFilter *result = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7,(btllib::BloomFilter const &)*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + arg2 = static_cast< unsigned int >(val2); + result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - btllib::BloomFilter *arg7 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - btllib::Indexlr *result = 0 ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::BloomFilter *result = 0 ; - (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::BloomFilter *)new btllib::BloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_BloomFilter__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if (argc == 1) { + int retval = _wrap_new_BloomFilter__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_BloomFilter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { + int retval = _wrap_new_BloomFilter__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BloomFilter'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::BloomFilter()\n" + " btllib::BloomFilter::BloomFilter(size_t,unsigned int,std::string)\n" + " btllib::BloomFilter::BloomFilter(size_t,unsigned int)\n" + " btllib::BloomFilter::BloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_1; + return _wrap_BloomFilter_insert__SWIG_0(self, argc, argv); } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::insert(uint64_t const *)\n" + " btllib::BloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - btllib::BloomFilter *arg8 = 0 ; - btllib::BloomFilter *arg9 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - (void)self; - if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg9 = reinterpret_cast< btllib::BloomFilter * >(argp9); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8,(btllib::BloomFilter const &)*arg9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)((btllib::BloomFilter const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - btllib::BloomFilter *arg8 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + bool result; - (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + result = (bool)((btllib::BloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_1; + return _wrap_BloomFilter_contains__SWIG_0(self, argc, argv); } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - btllib::Indexlr *result = 0 ; +check_1: - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::contains(uint64_t const *) const\n" + " btllib::BloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::Indexlr *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + bool result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[10] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; - --argc; - if (argc == 3) { - int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_2; - return _wrap_new_Indexlr__SWIG_4(self, argc, argv); - } -check_2: - - if (argc == 4) { - int retval = _wrap_new_Indexlr__SWIG_11(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_4: - - if (argc == 5) { - int retval = _wrap_new_Indexlr__SWIG_10(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 6) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - return _wrap_new_Indexlr__SWIG_2(self, argc, argv); - } -check_6: - - if (argc == 6) { - int retval = _wrap_new_Indexlr__SWIG_9(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 7) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_8; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_8; - { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_8; - return _wrap_new_Indexlr__SWIG_1(self, argc, argv); - } -check_8: - - if (argc == 7) { - int retval = _wrap_new_Indexlr__SWIG_8(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 8) { + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { int _v = 0; { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_10; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_10; - { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); _v = SWIG_CheckState(res); } - if (!_v) goto check_10; - int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!_v) goto check_1; + return _wrap_BloomFilter_contains_insert__SWIG_0(self, argc, argv); } -check_10: +check_1: - if (argc == 8) { - int retval = _wrap_new_Indexlr__SWIG_7(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 9) { - int retval = _wrap_new_Indexlr__SWIG_6(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_contains_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t)\n"); - return -1; + " btllib::BloomFilter::contains_insert(uint64_t const *)\n" + " btllib::BloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Indexlr" "', argument " "1"" of type '" "btllib::Indexlr *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = ((btllib::BloomFilter const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_close" "', argument " "1"" of type '" "btllib::Indexlr *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - (arg1)->close(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (uint64_t)((btllib::BloomFilter const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - SwigValueWrapper< btllib::Indexlr::RecordIterator > result; + PyObject *swig_obj[1] ; + double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___iter__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::RecordIterator(result)), SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (double)((btllib::BloomFilter const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::Indexlr *result = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___enter__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (btllib::Indexlr *)btllib_Indexlr___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (unsigned int)((btllib::BloomFilter const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[4] ; + PyObject *swig_obj[1] ; + double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___exit__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_Indexlr___exit__(arg1,arg2,arg3,arg4); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (double)((btllib::BloomFilter const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (std::string *) &((btllib::BloomFilter const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->save((std::string const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Indexlr) /* defines _wrap_delete_Indexlr_destructor_closure */ +SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = (bool)btllib::BloomFilter::is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; +} -SWIGPY_GETITERFUNC_CLOSURE(_wrap_Indexlr___iter__) /* defines _wrap_Indexlr___iter___getiterfunc_closure */ -SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Flag *result = 0 ; + std::string *arg1 = 0 ; + std::string *arg2 = 0 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; - result = (btllib::Indexlr::Flag *)new btllib::Indexlr::Flag(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (bool)btllib::BloomFilter::check_file_signature((std::string const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Flag *arg1 = (btllib::Indexlr::Flag *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrFlag" "', argument " "1"" of type '" "btllib::Indexlr::Flag *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BloomFilter" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Flag * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -28361,422 +27134,379 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrFlag) /* defines _wrap_delete_IndexlrFlag_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BloomFilter) /* defines _wrap_delete_BloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *result = 0 ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t arg2 ; - size_t arg3 ; - bool arg4 ; - std::string arg5 ; - uint64_t val1 ; + size_t arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + size_t val1 ; int ecode1 = 0 ; - uint64_t val2 ; + unsigned int val2 ; int ecode2 = 0 ; - size_t val3 ; + unsigned int val3 ; int ecode3 = 0 ; - bool val4 ; - int ecode4 = 0 ; - btllib::Indexlr::Minimizer *result = 0 ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "size_t""'"); } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< uint64_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerBloomFilter" "', argument " "3"" of type '" "unsigned int""'"); } - arg4 = static_cast< bool >(val4); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); - } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); + arg3 = static_cast< unsigned int >(val3); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t arg2 ; - size_t arg3 ; - bool arg4 ; - std::string arg5 ; - std::string arg6 ; - uint64_t val1 ; - int ecode1 = 0 ; - uint64_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - bool val4 ; - int ecode4 = 0 ; - btllib::Indexlr::Minimizer *result = 0 ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); - } - arg4 = static_cast< bool >(val4); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[5], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "6"" of type '" "std::string""'"); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } - arg6 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + arg1 = ptr; } - result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[7] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); + int retval = _wrap_new_KmerBloomFilter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 5) { - int retval = _wrap_new_Minimizer__SWIG_1(self, argc, argv); + if (argc == 1) { + int retval = _wrap_new_KmerBloomFilter__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 6) { - int retval = _wrap_new_Minimizer__SWIG_2(self, argc, argv); + if (argc == 3) { + int retval = _wrap_new_KmerBloomFilter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerBloomFilter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::Indexlr::Minimizer::Minimizer()\n" - " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n" - " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string,std::string)\n"); + " btllib::KmerBloomFilter::KmerBloomFilter()\n" + " btllib::KmerBloomFilter::KmerBloomFilter(size_t,unsigned int,unsigned int)\n" + " btllib::KmerBloomFilter::KmerBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - uint64_t arg2 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_min_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); } - arg2 = static_cast< uint64_t >(val2); - if (arg1) (arg1)->min_hash = arg2; + arg3 = static_cast< size_t >(val3); + (arg1)->insert((char const *)arg2,arg3); resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (uint64_t) ((arg1)->min_hash); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - uint64_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_out_hash_set" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - if (arg1) (arg1)->out_hash = arg2; + (arg1)->insert((std::string const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (uint64_t) ((arg1)->out_hash); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - size_t arg2 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_pos_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->pos = arg2; + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerBloomFilter_insert__SWIG_2(self, argc, argv); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = ((arg1)->pos); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - bool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; +check_1: - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerBloomFilter_insert__SWIG_1(self, argc, argv); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_forward_set" "', argument " "2"" of type '" "bool""'"); - } - arg2 = static_cast< bool >(val2); - if (arg1) (arg1)->forward = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerBloomFilter::insert(char const *,size_t)\n" + " btllib::KmerBloomFilter::insert(std::string const &)\n" + " btllib::KmerBloomFilter::insert(uint64_t const *)\n" + " btllib::KmerBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (bool) ((arg1)->forward); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + unsigned int result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->seq = *arg2; - resultobj = SWIG_Py_Void(); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -28785,58 +27515,63 @@ SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (std::string *) & ((arg1)->seq); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - std::string *arg2 = 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->qual = *arg2; - resultobj = SWIG_Py_Void(); + result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -28845,238 +27580,127 @@ SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (std::string *) & ((arg1)->qual); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Minimizer" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ - -SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *result = 0 ; - - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - std::string arg2 ; - std::string arg3 ; - size_t arg4 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > arg5 ; - size_t val1 ; - int ecode1 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::Indexlr::Record *result = 0 ; +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IndexlrRecord" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "3"" of type '" "std::string""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_1; + return _wrap_KmerBloomFilter_contains__SWIG_2(self, argc, argv); } - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_IndexlrRecord" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - { - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; - int res = swig::asptr(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "5"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >""'"); +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_2; + return _wrap_KmerBloomFilter_contains__SWIG_1(self, argc, argv); } - result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_IndexlrRecord(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; +check_2: - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrRecord")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_IndexlrRecord", 0, 5, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_IndexlrRecord__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 2) { + PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 5) { - int retval = _wrap_new_IndexlrRecord__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 3) { + PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IndexlrRecord'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::Indexlr::Record::Record()\n" - " btllib::Indexlr::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >)\n"); - return -1; + " btllib::KmerBloomFilter::contains(char const *,size_t) const\n" + " btllib::KmerBloomFilter::contains(std::string const &) const\n" + " btllib::KmerBloomFilter::contains(uint64_t const *) const\n" + " btllib::KmerBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - size_t arg2 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_num_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->num = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = ((arg1)->num); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + unsigned int result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->id = *arg2; - resultobj = SWIG_Py_Void(); + result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -29085,58 +27709,63 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (std::string *) & ((arg1)->id); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - std::string *arg2 = 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->barcode = *arg2; - resultobj = SWIG_Py_Void(); + result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -29145,459 +27774,410 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerBloomFilter_contains_insert__SWIG_2(self, argc, argv); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (std::string *) & ((arg1)->barcode); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerBloomFilter_contains_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerBloomFilter::contains_insert(char const *,size_t)\n" + " btllib::KmerBloomFilter::contains_insert(std::string const &)\n" + " btllib::KmerBloomFilter::contains_insert(uint64_t const *)\n" + " btllib::KmerBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - size_t arg2 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_readlen_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->readlen = arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = ((btllib::KmerBloomFilter const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = ((arg1)->readlen); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (uint64_t)((btllib::KmerBloomFilter const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg2 = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + double result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > * >(argp2); - if (arg1) (arg1)->minimizers = *arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (double)((btllib::KmerBloomFilter const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)& ((arg1)->minimizers); - - resultobj = PyList_New(result->size()); - for (unsigned i = 0; i < result->size(); ++i) { - PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*(result))[i]), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN); - PyList_SetItem(resultobj, i, item); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + PyObject *swig_obj[1] ; + double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord___nonzero__" "', argument " "1"" of type '" "btllib::Indexlr::Record const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (bool)((btllib::Indexlr::Record const *)arg1)->operator bool(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (double)((btllib::KmerBloomFilter const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: - PyErr_Clear(); - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecord" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_k" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGPY_INQUIRY_CLOSURE(_wrap_IndexlrRecord___nonzero__) /* defines _wrap_IndexlrRecord___nonzero___inquiry_closure */ - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecord) /* defines _wrap_delete_IndexlrRecord_destructor_closure */ - -SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::Indexlr::Record result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecordIterator___next__" "', argument " "1"" of type '" "btllib::Indexlr::RecordIterator *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::RecordIterator * >(argp1); - { - result = (arg1)->next(); - if (!bool(result)) { - PyErr_SetNone(PyExc_StopIteration); - SWIG_fail; - } + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(result)), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (std::string *) &((btllib::KmerBloomFilter const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_delete_IndexlrRecordIterator(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::BloomFilter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecordIterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecordIterator" "', argument " "1"" of type '" "btllib::Indexlr::RecordIterator *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bloom_filter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::RecordIterator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (btllib::BloomFilter *) &(arg1)->get_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_IndexlrRecordIterator___next__) /* defines _wrap_IndexlrRecordIterator___next___iternextfunc_closure */ - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecordIterator) /* defines _wrap_delete_IndexlrRecordIterator_destructor_closure */ - -SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_BIT_MASKS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::BIT_MASKS), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_KMER_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable KMER_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_KMER_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::KMER_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::SEED_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_HASH_FN_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable HASH_FN is read-only."); - return 1; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_save" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *Swig_var_HASH_FN_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::HASH_FN); - return pyobj; -} - - -SWIGINTERN int Swig_var_MAX_HASH_VALUES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MAX_HASH_VALUES is read-only."); - return 1; + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = (bool)btllib::KmerBloomFilter::is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *Swig_var_MAX_HASH_VALUES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::MAX_HASH_VALUES)); - return pyobj; -} - - -SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerBloomFilter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES)); - return pyobj; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerBloomFilter) /* defines _wrap_delete_KmerBloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::BloomFilter *result = 0 ; + btllib::SeedBloomFilter *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::BloomFilter *)new btllib::BloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; - std::string arg3 ; + std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; + unsigned int arg4 ; size_t val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - btllib::BloomFilter *result = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedBloomFilter *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeedBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BloomFilter" "', argument " "3"" of type '" "std::string""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg3 = ptr; } - result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::BloomFilter *result = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedBloomFilter" "', argument " "4"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj == Py_None ? -1 : 0; fail: + if (SWIG_IsNewObj(res3)) delete arg3; return -1; } -SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::BloomFilter *result = 0 ; + btllib::SeedBloomFilter *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::BloomFilter *)new btllib::BloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -29606,100 +28186,165 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, P } -SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_BloomFilter__SWIG_0(self, argc, argv); + int retval = _wrap_new_SeedBloomFilter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_BloomFilter__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int retval = _wrap_new_BloomFilter__SWIG_2(self, argc, argv); + int retval = _wrap_new_SeedBloomFilter__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 3) { - int retval = _wrap_new_BloomFilter__SWIG_1(self, argc, argv); + if (argc == 4) { + int retval = _wrap_new_SeedBloomFilter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedBloomFilter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::BloomFilter()\n" - " btllib::BloomFilter::BloomFilter(size_t,unsigned int,std::string)\n" - " btllib::BloomFilter::BloomFilter(size_t,unsigned int)\n" - " btllib::BloomFilter::BloomFilter(std::string const &)\n"); + " btllib::SeedBloomFilter::SeedBloomFilter()\n" + " btllib::SeedBloomFilter::SeedBloomFilter(size_t,unsigned int,std::vector< std::string,std::allocator< std::string > > const &,unsigned int)\n" + " btllib::SeedBloomFilter::SeedBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->insert((char const *)arg2,arg3); resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -29713,14 +28358,13 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t } -SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29730,28 +28374,122 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_BloomFilter_insert__SWIG_0(self, argc, argv); + return _wrap_SeedBloomFilter_insert__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_insert__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_SeedBloomFilter_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::insert(uint64_t const *)\n" - " btllib::BloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::SeedBloomFilter::insert(char const *,size_t)\n" + " btllib::SeedBloomFilter::insert(std::string const &)\n" + " btllib::SeedBloomFilter::insert(uint64_t const *)\n" + " btllib::SeedBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = ((btllib::SeedBloomFilter const *)arg1)->contains((char const *)arg2,arg3); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = ((btllib::SeedBloomFilter const *)arg1)->contains((std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29759,19 +28497,18 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize int res2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::BloomFilter const *)arg1)->contains((uint64_t const *)arg2); + result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((uint64_t const *)arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -29779,34 +28516,33 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (bool)((btllib::BloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -29816,14 +28552,13 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29833,28 +28568,122 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_BloomFilter_contains__SWIG_0(self, argc, argv); + return _wrap_SeedBloomFilter_contains__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_contains__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_SeedBloomFilter_contains__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::contains(uint64_t const *) const\n" - " btllib::BloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::SeedBloomFilter::contains(char const *,size_t) const\n" + " btllib::SeedBloomFilter::contains(std::string const &) const\n" + " btllib::SeedBloomFilter::contains(uint64_t const *) const\n" + " btllib::SeedBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (arg1)->contains_insert((char const *)arg2,arg3); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (arg1)->contains_insert((std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29862,16 +28691,15 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, P int res2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); @@ -29882,30 +28710,29 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, P } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -29919,14 +28746,13 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, P } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29936,40 +28762,58 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_BloomFilter_contains_insert__SWIG_0(self, argc, argv); + return _wrap_SeedBloomFilter_contains_insert__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_contains_insert__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_SeedBloomFilter_contains_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::contains_insert(uint64_t const *)\n" - " btllib::BloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::SeedBloomFilter::contains_insert(char const *,size_t)\n" + " btllib::SeedBloomFilter::contains_insert(std::string const &)\n" + " btllib::SeedBloomFilter::contains_insert(uint64_t const *)\n" + " btllib::SeedBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = ((btllib::BloomFilter const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = ((btllib::SeedBloomFilter const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -29977,21 +28821,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (uint64_t)((btllib::BloomFilter const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (uint64_t)((btllib::SeedBloomFilter const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -29999,21 +28843,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (double)((btllib::BloomFilter const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (double)((btllib::SeedBloomFilter const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -30021,21 +28865,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_total_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (unsigned int)((btllib::BloomFilter const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_total_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -30043,21 +28887,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *ar } -SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (double)((btllib::BloomFilter const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (double)((btllib::SeedBloomFilter const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -30065,155 +28909,240 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_k" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (std::string *) &((btllib::BloomFilter const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - (arg1)->save((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *) &((btllib::SeedBloomFilter const *)arg1)->get_seeds(); + resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(*result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - bool result; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_parsed_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *) &((btllib::SeedBloomFilter const *)arg1)->get_parsed_seeds(); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num_per_seed(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::string *) &((btllib::SeedBloomFilter const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::KmerBloomFilter *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_kmer_bloom_filter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (btllib::KmerBloomFilter *) &(arg1)->get_kmer_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_save" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = (bool)btllib::BloomFilter::is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; - std::string *arg2 = 0 ; int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - result = (bool)btllib::BloomFilter::check_file_signature((std::string const &)*arg1,(std::string const &)*arg2); + result = (bool)btllib::SeedBloomFilter::is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BloomFilter" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedBloomFilter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -30222,81 +29151,112 @@ SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BloomFilter) /* defines _wrap_delete_BloomFilter_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedBloomFilter) /* defines _wrap_delete_SeedBloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *result = 0 ; +SWIGINTERN int Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_FromCharPtr(btllib::COUNTING_BLOOM_FILTER_SIGNATURE); + return pyobj; } -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable KMER_COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::KMER_COUNTING_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; + std::string *arg1 = 0 ; unsigned int arg2 ; unsigned int arg3 ; - size_t val1 ; - int ecode1 = 0 ; + int res1 = SWIG_OLDOBJ ; unsigned int val2 ; int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; - btllib::KmerBloomFilter *result = 0 ; + btllib::SeqReader *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerBloomFilter" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqReader" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; + unsigned int arg2 ; int res1 = SWIG_OLDOBJ ; - btllib::KmerBloomFilter *result = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::SeqReader *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -30305,782 +29265,528 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj } -SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; --argc; - if (argc == 0) { - int retval = _wrap_new_KmerBloomFilter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_KmerBloomFilter__SWIG_2(self, argc, argv); + if (argc == 2) { + int retval = _wrap_new_SeqReader__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 3) { - int retval = _wrap_new_KmerBloomFilter__SWIG_1(self, argc, argv); + int retval = _wrap_new_SeqReader__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerBloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqReader'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::KmerBloomFilter()\n" - " btllib::KmerBloomFilter::KmerBloomFilter(size_t,unsigned int,unsigned int)\n" - " btllib::KmerBloomFilter::KmerBloomFilter(std::string const &)\n"); + " btllib::SeqReader::SeqReader(std::string const &,unsigned int,unsigned int)\n" + " btllib::SeqReader::SeqReader(std::string const &,unsigned int)\n"); return -1; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReader" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->insert((char const *)arg2,arg3); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_close" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - (arg1)->insert((std::string const &)*arg2); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + (arg1)->close(); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_fold_case" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->fold_case(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_trim_masked" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->trim_masked(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerBloomFilter_insert__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerBloomFilter_insert__SWIG_1(self, argc, argv); - } -check_2: +SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_short_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->short_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::insert(char const *,size_t)\n" - " btllib::KmerBloomFilter::insert(std::string const &)\n" - " btllib::KmerBloomFilter::insert(uint64_t const *)\n" - " btllib::KmerBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_long_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->long_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int result; + PyObject *swig_obj[1] ; + btllib::SeqReader::Format result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_format" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (btllib::SeqReader::Format)((btllib::SeqReader const *)arg1)->get_format(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + PyObject *swig_obj[1] ; + btllib::SeqReader::Record result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_read" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (arg1)->read(); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[1] ; + SwigValueWrapper< btllib::SeqReader::RecordIterator > result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___iter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(static_cast< const btllib::SeqReader::RecordIterator& >(result))), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerBloomFilter_contains__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerBloomFilter_contains__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::contains(char const *,size_t) const\n" - " btllib::KmerBloomFilter::contains(std::string const &) const\n" - " btllib::KmerBloomFilter::contains(uint64_t const *) const\n" - " btllib::KmerBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_buffer_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = ((btllib::SeqReader const *)arg1)->get_buffer_size(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_block_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = ((btllib::SeqReader const *)arg1)->get_block_size(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + PyObject *swig_obj[1] ; + btllib::SeqReader *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___enter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (btllib::SeqReader *)btllib_SeqReader___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[4] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___exit__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_SeqReader___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerBloomFilter_contains_insert__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerBloomFilter_contains_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReader) /* defines _wrap_delete_SeqReader_destructor_closure */ + +SWIGPY_GETITERFUNC_CLOSURE(_wrap_SeqReader___iter__) /* defines _wrap_SeqReader___iter___getiterfunc_closure */ + +SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + btllib::SeqReader::Flag *result = 0 ; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; + result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::contains_insert(char const *,size_t)\n" - " btllib::KmerBloomFilter::contains_insert(std::string const &)\n" - " btllib::KmerBloomFilter::contains_insert(uint64_t const *)\n" - " btllib::KmerBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderFlag" "', argument " "1"" of type '" "btllib::SeqReader::Flag *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = ((btllib::KmerBloomFilter const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Flag * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderFlag) /* defines _wrap_delete_SeqReaderFlag_destructor_closure */ + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (uint64_t)((btllib::KmerBloomFilter const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeqReaderRecord_num_set" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->num = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (double)((btllib::KmerBloomFilter const *)arg1)->get_occupancy(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = ((arg1)->num); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + if (arg1) (arg1)->id = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (double)((btllib::KmerBloomFilter const *)arg1)->get_fpr(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->id); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_k" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + if (arg1) (arg1)->comment = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (std::string *) &((btllib::KmerBloomFilter const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->comment); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -31088,57 +29794,93 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::BloomFilter *result = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bloom_filter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (btllib::BloomFilter *) &(arg1)->get_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + if (arg1) (arg1)->seq = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->seq); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_save" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->save((std::string const &)*arg2); + if (arg1) (arg1)->qual = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -31148,290 +29890,248 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - bool result; + std::string *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - result = (bool)btllib::KmerBloomFilter::is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->qual); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerBloomFilter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord___nonzero__" "', argument " "1"" of type '" "btllib::SeqReader::Record const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (bool)((btllib::SeqReader::Record const *)arg1)->operator bool(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - return NULL; + PyErr_Clear(); + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerBloomFilter) /* defines _wrap_delete_KmerBloomFilter_destructor_closure */ - -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *result = 0 ; + btllib::SeqReader::Record *result = 0 ; - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; + result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; - unsigned int arg4 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedBloomFilter *result = 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeedBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg3 = ptr; + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecord" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedBloomFilter" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res3)) delete arg3; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - if (SWIG_IsNewObj(res3)) delete arg3; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_INQUIRY_CLOSURE(_wrap_SeqReaderRecord___nonzero__) /* defines _wrap_SeqReaderRecord___nonzero___inquiry_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecord) /* defines _wrap_delete_SeqReaderRecord_destructor_closure */ + +SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::SeedBloomFilter *result = 0 ; + btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::SeqReader::Record result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecordIterator___next__" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + result = (arg1)->next(); + if (!bool(result)) { + PyErr_SetNone(PyExc_StopIteration); + SWIG_fail; } - arg1 = ptr; } - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; +SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_SeedBloomFilter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_SeedBloomFilter__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int retval = _wrap_new_SeedBloomFilter__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecordIterator" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); } - + arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedBloomFilter'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::SeedBloomFilter()\n" - " btllib::SeedBloomFilter::SeedBloomFilter(size_t,unsigned int,std::vector< std::string,std::allocator< std::string > > const &,unsigned int)\n" - " btllib::SeedBloomFilter::SeedBloomFilter(std::string const &)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_SeqReaderRecordIterator___next__) /* defines _wrap_SeqReaderRecordIterator___next___iternextfunc_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecordIterator) /* defines _wrap_delete_SeqReaderRecordIterator_destructor_closure */ + +SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + std::string *arg1 = 0 ; + std::string *arg2 = 0 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + std::vector< std::string,std::allocator< std::string > > result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->insert((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + result = btllib::split((std::string const &)*arg1,(std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + int res1 = SWIG_OLDOBJ ; int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + std::string result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->insert((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); + result = btllib::join((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::ltrim(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -31439,919 +30139,635 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CString *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::ltrim(*arg1); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[2] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { + if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { int _v = 0; { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_SeedBloomFilter_insert__SWIG_2(self, argc, argv); + return _wrap_ltrim__SWIG_0(self, argc, argv); } check_1: - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_SeedBloomFilter_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_0(self, argc, argv); + if (argc == 1) { + PyObject *retobj = _wrap_ltrim__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ltrim'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::insert(char const *,size_t)\n" - " btllib::SeedBloomFilter::insert(std::string const &)\n" - " btllib::SeedBloomFilter::insert(uint64_t const *)\n" - " btllib::SeedBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::ltrim(std::string &)\n" + " btllib::ltrim(btllib::CString &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = ((btllib::SeedBloomFilter const *)arg1)->contains((char const *)arg2,arg3); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::rtrim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::CString *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - result = ((btllib::SeedBloomFilter const *)arg1)->contains((std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::rtrim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_rtrim__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 1) { + PyObject *retobj = _wrap_rtrim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'rtrim'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::rtrim(std::string &)\n" + " btllib::rtrim(btllib::CString &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::trim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CString *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); } - result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::trim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[2] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { + if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { int _v = 0; { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_SeedBloomFilter_contains__SWIG_2(self, argc, argv); + return _wrap_trim__SWIG_0(self, argc, argv); } check_1: - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_SeedBloomFilter_contains__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_0(self, argc, argv); + if (argc == 1) { + PyObject *retobj = _wrap_trim__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'trim'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::contains(char const *,size_t) const\n" - " btllib::SeedBloomFilter::contains(std::string const &) const\n" - " btllib::SeedBloomFilter::contains(uint64_t const *) const\n" - " btllib::SeedBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::trim(std::string &)\n" + " btllib::trim(btllib::CString &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + std::string arg1 ; + std::string arg2 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (arg1)->contains_insert((char const *)arg2,arg3); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + result = (bool)btllib::startswith(arg1,arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + std::string arg1 ; + std::string arg2 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "1"" of type '" "std::string""'"); } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "2"" of type '" "std::string""'"); } - arg2 = ptr; + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (arg1)->contains_insert((std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + result = (bool)btllib::endswith(arg1,arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + result = btllib::get_basename((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + if (!args) SWIG_fail; + swig_obj[0] = args; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); } - arg2 = ptr; + arg1 = ptr; } - result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + result = btllib::get_dirname((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; +SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + size_t arg2 ; + size_t arg3 ; + int res1 = SWIG_OLDOBJ ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + double result; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_1; - return _wrap_SeedBloomFilter_contains_insert__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_2; - return _wrap_SeedBloomFilter_contains_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = ptr; } - + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "calc_phred_avg" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_From_double(static_cast< double >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::contains_insert(char const *,size_t)\n" - " btllib::SeedBloomFilter::contains_insert(std::string const &)\n" - " btllib::SeedBloomFilter::contains_insert(uint64_t const *)\n" - " btllib::SeedBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = ((btllib::SeedBloomFilter const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (uint64_t)((btllib::SeedBloomFilter const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string *arg1 = 0 ; + size_t arg2 ; + int res1 = SWIG_OLDOBJ ; + size_t val2 ; + int ecode2 = 0 ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (double)((btllib::SeedBloomFilter const *)arg1)->get_occupancy(); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2); resultobj = SWIG_From_double(static_cast< double >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_total_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_total_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (double)((btllib::SeedBloomFilter const *)arg1)->get_fpr(); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1); resultobj = SWIG_From_double(static_cast< double >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_k" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; +SWIGINTERN PyObject *_wrap_calc_phred_avg(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "calc_phred_avg", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + PyObject *retobj = _wrap_calc_phred_avg__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *) &((btllib::SeedBloomFilter const *)arg1)->get_seeds(); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_parsed_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + if (argc == 2) { + PyObject *retobj = _wrap_calc_phred_avg__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *) &((btllib::SeedBloomFilter const *)arg1)->get_parsed_seeds(); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + if (argc == 3) { + PyObject *retobj = _wrap_calc_phred_avg__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num_per_seed(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'calc_phred_avg'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::calc_phred_avg(std::string const &,size_t,size_t)\n" + " btllib::calc_phred_avg(std::string const &,size_t)\n" + " btllib::calc_phred_avg(std::string const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; + unsigned int arg1 ; + unsigned int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + btllib::Barrier *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::string *) &((btllib::SeedBloomFilter const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Barrier" "', argument " "1"" of type '" "unsigned int""'"); + } + arg1 = static_cast< unsigned int >(val1); + result = (btllib::Barrier *)new btllib::Barrier(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Barrier, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::KmerBloomFilter *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_kmer_bloom_filter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Barrier_wait" "', argument " "1"" of type '" "btllib::Barrier *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (btllib::KmerBloomFilter *) &(arg1)->get_kmer_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + arg1 = reinterpret_cast< btllib::Barrier * >(argp1); + (arg1)->wait(); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_save" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Barrier" "', argument " "1"" of type '" "btllib::Barrier *""'"); } - (arg1)->save((std::string const &)*arg2); + arg1 = reinterpret_cast< btllib::Barrier * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Barrier) /* defines _wrap_delete_Barrier_destructor_closure */ + +SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; + btllib::SeqWriter::Format arg2 ; + bool arg3 ; int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - bool result; + int val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + btllib::SeqWriter *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::SeedBloomFilter::is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); + } + arg2 = static_cast< btllib::SeqWriter::Format >(val2); + ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqWriter" "', argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + return resultobj == Py_None ? -1 : 0; fail: if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedBloomFilter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedBloomFilter) /* defines _wrap_delete_SeedBloomFilter_destructor_closure */ - -SWIGINTERN int Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::COUNTING_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable KMER_COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::KMER_COUNTING_BLOOM_FILTER_SIGNATURE); - return pyobj; + return -1; } -SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; - unsigned int arg2 ; - unsigned int arg3 ; + btllib::SeqWriter::Format arg2 ; int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; + int val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::SeqReader *result = 0 ; + btllib::SeqWriter *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqReader" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + arg2 = static_cast< btllib::SeqWriter::Format >(val2); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -32360,35 +30776,26 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO } -SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; - unsigned int arg2 ; int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::SeqReader *result = 0 ; + btllib::SeqWriter *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -32397,50 +30804,55 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO } -SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; --argc; + if (argc == 1) { + int retval = _wrap_new_SeqWriter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } if (argc == 2) { - int retval = _wrap_new_SeqReader__SWIG_1(self, argc, argv); + int retval = _wrap_new_SeqWriter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 3) { - int retval = _wrap_new_SeqReader__SWIG_0(self, argc, argv); + int retval = _wrap_new_SeqWriter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqReader'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqWriter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeqReader::SeqReader(std::string const &,unsigned int,unsigned int)\n" - " btllib::SeqReader::SeqReader(std::string const &,unsigned int)\n"); + " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format,bool)\n" + " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format)\n" + " btllib::SeqWriter::SeqWriter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReader" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_close" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + (arg1)->close(); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -32448,1576 +30860,1450 @@ SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + std::string *arg2 = 0 ; + std::string *arg3 = 0 ; + std::string *arg4 = 0 ; + std::string *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + int res3 = SWIG_OLDOBJ ; + int res4 = SWIG_OLDOBJ ; + int res5 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_close" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - (arg1)->close(); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + { + std::string *ptr = (std::string *)0; + res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + arg3 = ptr; + } + { + std::string *ptr = (std::string *)0; + res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + arg4 = ptr; + } + { + std::string *ptr = (std::string *)0; + res5 = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); + } + arg5 = ptr; + } + (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + std::string *arg2 = 0 ; + std::string *arg3 = 0 ; + std::string *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + int res2 = SWIG_OLDOBJ ; + int res3 = SWIG_OLDOBJ ; + int res4 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_fold_case" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->fold_case(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + { + std::string *ptr = (std::string *)0; + res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + arg3 = ptr; + } + { + std::string *ptr = (std::string *)0; + res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + arg4 = ptr; + } + (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_trim_masked" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 4) { + PyObject *retobj = _wrap_SeqWriter_write__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->trim_masked(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; + if (argc == 5) { + PyObject *retobj = _wrap_SeqWriter_write__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeqWriter_write'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &,std::string const &)\n" + " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + PyObject *swig_obj[1] ; + btllib::SeqWriter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_short_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___enter__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->short_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + result = (btllib::SeqWriter *)btllib_SeqWriter___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + PyObject *swig_obj[4] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_long_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___exit__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->long_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_SeqWriter___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::SeqReader::Format result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_format" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqWriter" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (btllib::SeqReader::Format)((btllib::SeqReader const *)arg1)->get_format(); - resultobj = SWIG_From_int(static_cast< int >(result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::SeqReader::Record result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_read" "', argument " "1"" of type '" "btllib::SeqReader *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqWriter) /* defines _wrap_delete_SeqWriter_destructor_closure */ + +SWIGINTERN int Swig_var_COMPLEMENTS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable COMPLEMENTS is read-only."); + return 1; } -SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SwigValueWrapper< btllib::SeqReader::RecordIterator > result; +SWIGINTERN PyObject *Swig_var_COMPLEMENTS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___iter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + { + size_t size = SWIG_strnlen(btllib::COMPLEMENTS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::COMPLEMENTS, size); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(result)), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; +SWIGINTERN int Swig_var_AMINO_ACIDS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AMINO_ACIDS is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AMINO_ACIDS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_buffer_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + { + size_t size = SWIG_strnlen(btllib::AMINO_ACIDS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::AMINO_ACIDS, size); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = ((btllib::SeqReader const *)arg1)->get_buffer_size(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; +SWIGINTERN int Swig_var_CAPITALS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CAPITALS is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_CAPITALS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_block_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + { + size_t size = SWIG_strnlen(btllib::CAPITALS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::CAPITALS, size); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = ((btllib::SeqReader const *)arg1)->get_block_size(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::SeqReader *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___enter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (btllib::SeqReader *)btllib_SeqReader___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::reverse_complement(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[4] ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___exit__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_SeqReader___exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); + result = btllib::get_reverse_complement((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReader) /* defines _wrap_delete_SeqReader_destructor_closure */ +SWIGINTERN int Swig_var_CP_OFF_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CP_OFF is read-only."); + return 1; +} -SWIGPY_GETITERFUNC_CLOSURE(_wrap_SeqReader___iter__) /* defines _wrap_SeqReader___iter___getiterfunc_closure */ -SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::SeqReader::Flag *result = 0 ; +SWIGINTERN PyObject *Swig_var_CP_OFF_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; - result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(btllib::CP_OFF)); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_MULTISHIFT_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MULTISHIFT is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MULTISHIFT_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderFlag" "', argument " "1"" of type '" "btllib::SeqReader::Flag *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Flag * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_int(static_cast< int >(btllib::MULTISHIFT)); + return pyobj; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderFlag) /* defines _wrap_delete_SeqReaderFlag_destructor_closure */ +SWIGINTERN int Swig_var_MULTISEED_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MULTISEED is read-only."); + return 1; +} -SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + +SWIGINTERN PyObject *Swig_var_MULTISEED_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeqReaderRecord_num_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->num = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::MULTISEED)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = ((arg1)->num); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; +SWIGINTERN int Swig_var_SEED_A_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_A is read-only."); + return 1; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN PyObject *Swig_var_SEED_A_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - if (arg1) (arg1)->id = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_A)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +SWIGINTERN int Swig_var_SEED_C_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_C is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_C_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->id); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_C)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN int Swig_var_SEED_G_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_G is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_G_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - if (arg1) (arg1)->comment = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_G)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +SWIGINTERN int Swig_var_SEED_T_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_T is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_T_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->comment); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_T)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN int Swig_var_SEED_N_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_N is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_N_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - if (arg1) (arg1)->seq = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_N)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +SWIGINTERN int Swig_var_ASCII_SIZE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable ASCII_SIZE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_ASCII_SIZE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->seq); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_int(static_cast< int >(btllib::ASCII_SIZE)); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN int Swig_var_SEED_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - if (arg1) (arg1)->qual = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::SEED_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +SWIGINTERN int Swig_var_A33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable A33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_A33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->qual); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_A31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable A31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_A31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord___nonzero__" "', argument " "1"" of type '" "btllib::SeqReader::Record const *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (bool)((btllib::SeqReader::Record const *)arg1)->operator bool(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - PyErr_Clear(); - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *result = 0 ; +SWIGINTERN int Swig_var_C33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable C33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_C33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; - result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_C31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable C31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_C31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecord" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGPY_INQUIRY_CLOSURE(_wrap_SeqReaderRecord___nonzero__) /* defines _wrap_SeqReaderRecord___nonzero___inquiry_closure */ +SWIGINTERN int Swig_var_G33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable G33R is read-only."); + return 1; +} -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecord) /* defines _wrap_delete_SeqReaderRecord_destructor_closure */ -SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::SeqReader::Record result; +SWIGINTERN PyObject *Swig_var_G33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecordIterator___next__" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); - { - result = (arg1)->next(); - if (!bool(result)) { - PyErr_SetNone(PyExc_StopIteration); - SWIG_fail; - } - } - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_G31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable G31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_G31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecordIterator" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_SeqReaderRecordIterator___next__) /* defines _wrap_SeqReaderRecordIterator___next___iternextfunc_closure */ +SWIGINTERN int Swig_var_T33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable T33R is read-only."); + return 1; +} -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecordIterator) /* defines _wrap_delete_SeqReaderRecordIterator_destructor_closure */ -SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - std::vector< std::string,std::allocator< std::string > > result; +SWIGINTERN PyObject *Swig_var_T33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - result = btllib::split((std::string const &)*arg1,(std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - std::string result; +SWIGINTERN int Swig_var_T31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable T31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_T31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg1 = ptr; - } - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - result = btllib::join((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(std::string const &)*arg2); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_N33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable N33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_N33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); - } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::ltrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_N31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable N31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_N31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::ltrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[2] = { - 0 - }; +SWIGINTERN int Swig_var_MS_TAB_33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MS_TAB_33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_ltrim__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 1) { - PyObject *retobj = _wrap_ltrim__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_33R), SWIGTYPE_p_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_MS_TAB_31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MS_TAB_31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ltrim'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ltrim(std::string &)\n" - " btllib::ltrim(btllib::CString &)\n"); - return 0; + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_31L), SWIGTYPE_p_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_CONVERT_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CONVERT_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_CONVERT_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); - } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::rtrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_RC_CONVERT_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable RC_CONVERT_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_RC_CONVERT_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::rtrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::RC_CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[2] = { - 0 - }; +SWIGINTERN int Swig_var_DIMER_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable DIMER_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_DIMER_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_rtrim__SWIG_0(self, argc, argv); - } -check_1: + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_TRIMER_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable TRIMER_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_TRIMER_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; - if (argc == 1) { - PyObject *retobj = _wrap_rtrim__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TRIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_TETRAMER_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable TETRAMER_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_TETRAMER_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'rtrim'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::rtrim(std::string &)\n" - " btllib::rtrim(btllib::CString &)\n"); - return 0; + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TETRAMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_srol__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + uint64_t arg1 ; + uint64_t val1 ; + int ecode1 = 0 ; + uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); - } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::trim(*arg1); - resultobj = SWIG_Py_Void(); + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + result = (uint64_t)btllib::srol(arg1); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_srol__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + uint64_t arg1 ; + unsigned int arg2 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::trim(*arg1); - resultobj = SWIG_Py_Void(); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "srol" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::srol(arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_srol(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[2] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "srol", 0, 2, argv))) SWIG_fail; --argc; if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_trim__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_srol__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - - if (argc == 1) { - PyObject *retobj = _wrap_trim__SWIG_1(self, argc, argv); + if (argc == 2) { + PyObject *retobj = _wrap_srol__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'trim'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'srol'.\n" " Possible C/C++ prototypes are:\n" - " btllib::trim(std::string &)\n" - " btllib::trim(btllib::CString &)\n"); + " btllib::srol(uint64_t const)\n" + " btllib::srol(uint64_t const,unsigned int const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_sror(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; - std::string arg2 ; - PyObject *swig_obj[2] ; - bool result; + uint64_t arg1 ; + uint64_t val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (bool)btllib::startswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sror" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + result = (uint64_t)btllib::sror(arg1); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntf64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - std::string arg2 ; - PyObject *swig_obj[2] ; - bool result; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntf64" "', argument " "1"" of type '" "char const *""'"); } - result = (bool)btllib::endswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::ntf64((char const *)arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntr64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - std::string result; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntr64" "', argument " "1"" of type '" "char const *""'"); } - result = btllib::get_basename((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::ntr64((char const *)arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntf64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - std::string result; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - result = btllib::get_dirname((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - size_t arg2 ; - size_t arg3 ; - int res1 = SWIG_OLDOBJ ; - size_t val2 ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - size_t val3 ; + unsigned char val3 ; int ecode3 = 0 ; - double result; + unsigned char val4 ; + int ecode4 = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "calc_phred_avg" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< size_t >(val3); - result = (double)btllib::calc_phred_avg((std::string const &)*arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); - resultobj = SWIG_From_double(static_cast< double >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntf64(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - size_t arg2 ; - int res1 = SWIG_OLDOBJ ; - size_t val2 ; - int ecode2 = 0 ; - double result; +SWIGINTERN PyObject *_wrap_ntf64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[5] = { + 0 + }; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntf64", 0, 4, argv))) SWIG_fail; + --argc; + if (argc == 2) { + PyObject *retobj = _wrap_ntf64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - result = (double)btllib::calc_phred_avg((std::string const &)*arg1,SWIG_STD_MOVE(arg2)); - resultobj = SWIG_From_double(static_cast< double >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + if (argc == 4) { + PyObject *retobj = _wrap_ntf64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntf64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntf64(char const *,unsigned int)\n" + " btllib::ntf64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntr64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - double result; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - result = (double)btllib::calc_phred_avg((std::string const &)*arg1); - resultobj = SWIG_From_double(static_cast< double >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntr64(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_calc_phred_avg(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntr64(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "calc_phred_avg", 0, 3, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntr64", 0, 4, argv))) SWIG_fail; --argc; - if (argc == 1) { - PyObject *retobj = _wrap_calc_phred_avg__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } if (argc == 2) { - PyObject *retobj = _wrap_calc_phred_avg__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_ntr64__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 3) { - PyObject *retobj = _wrap_calc_phred_avg__SWIG_0(self, argc, argv); + if (argc == 4) { + PyObject *retobj = _wrap_ntr64__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'calc_phred_avg'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntr64'.\n" " Possible C/C++ prototypes are:\n" - " btllib::calc_phred_avg(std::string const &,size_t,size_t)\n" - " btllib::calc_phred_avg(std::string const &,size_t)\n" - " btllib::calc_phred_avg(std::string const &)\n"); + " btllib::ntr64(char const *,unsigned int)\n" + " btllib::ntr64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); return 0; } -SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject *swig_obj[1] ; - btllib::Barrier *result = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Barrier" "', argument " "1"" of type '" "unsigned int""'"); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); } - arg1 = static_cast< unsigned int >(val1); - result = (btllib::Barrier *)new btllib::Barrier(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Barrier, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::ntc64((char const *)arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; fail: - return -1; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + uint64_t *arg3 = 0 ; + uint64_t *arg4 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Barrier_wait" "', argument " "1"" of type '" "btllib::Barrier *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Barrier * >(argp1); - (arg1)->wait(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + arg3 = reinterpret_cast< uint64_t * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + result = (uint64_t)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Barrier" "', argument " "1"" of type '" "btllib::Barrier *""'"); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Barrier * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + result = (uint64_t)btllib::ntc64(arg1,arg2,arg3,*arg4,*arg5); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Barrier) /* defines _wrap_delete_Barrier_destructor_closure */ - -SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntf64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - btllib::SeqWriter::Format arg2 ; - bool arg3 ; - int res1 = SWIG_OLDOBJ ; - int val2 ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - bool val3 ; + unsigned char val3 ; int ecode3 = 0 ; - btllib::SeqWriter *result = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + PyObject *swig_obj[4] ; + uint64_t result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_Python_UnpackTuple(args, "ntf64l", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64l" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64l" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< btllib::SeqWriter::Format >(val2); - ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqWriter" "', argument " "3"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64l" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< bool >(val3); - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64l" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntf64l(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntr64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - btllib::SeqWriter::Format arg2 ; - int res1 = SWIG_OLDOBJ ; - int val2 ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - btllib::SeqWriter *result = 0 ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + PyObject *swig_obj[4] ; + uint64_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_Python_UnpackTuple(args, "ntr64l", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64l" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64l" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< btllib::SeqWriter::Format >(val2); - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64l" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64l" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntr64l(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::SeqWriter *result = 0 ; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + PyObject *swig_obj[5] ; + uint64_t result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "ntc64l", 5, 5, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64l" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64l" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64l" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); } - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; -} - - -SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int retval = _wrap_new_SeqWriter__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); } - if (argc == 2) { - int retval = _wrap_new_SeqWriter__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); } - if (argc == 3) { - int retval = _wrap_new_SeqWriter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); } - + arg5 = reinterpret_cast< uint64_t * >(argp5); + result = (uint64_t)btllib::ntc64l(arg1,arg2,arg3,*arg4,*arg5); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqWriter'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format,bool)\n" - " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format)\n" - " btllib::SeqWriter::SeqWriter(std::string const &)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = (uint64_t *) 0 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + PyObject *swig_obj[4] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_close" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + if (!SWIG_Python_UnpackTuple(args, "nte64", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "nte64" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "nte64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "nte64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "nte64" "', argument " "4"" of type '" "uint64_t *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - (arg1)->close(); + arg4 = reinterpret_cast< uint64_t * >(argp4); + btllib::nte64(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -34025,246 +32311,189 @@ SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - std::string *arg2 = 0 ; - std::string *arg3 = 0 ; - std::string *arg4 = 0 ; - std::string *arg5 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - int res4 = SWIG_OLDOBJ ; - int res5 = SWIG_OLDOBJ ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); - } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; - } - { - std::string *ptr = (std::string *)0; - res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - arg4 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - { - std::string *ptr = (std::string *)0; - res5 = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); - } - arg5 = ptr; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t *""'"); } - (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); + arg4 = reinterpret_cast< uint64_t * >(argp4); + btllib::ntmc64((char const *)arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - std::string *arg2 = 0 ; - std::string *arg3 = 0 ; - std::string *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - int res4 = SWIG_OLDOBJ ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); } - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); } - { - std::string *ptr = (std::string *)0; - res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - arg4 = ptr; + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4); + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t *""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,arg6); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 4) { - PyObject *retobj = _wrap_SeqWriter_write__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - if (argc == 5) { - PyObject *retobj = _wrap_SeqWriter_write__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeqWriter_write'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &,std::string const &)\n" - " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::SeqWriter *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___enter__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - result = (btllib::SeqWriter *)btllib_SeqWriter___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[4] ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___exit__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_SeqWriter___exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqWriter" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + arg6 = reinterpret_cast< uint64_t * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - delete arg1; + arg7 = reinterpret_cast< uint64_t * >(argp7); + btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -34272,1419 +32501,1829 @@ SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqWriter) /* defines _wrap_delete_SeqWriter_destructor_closure */ - -SWIGINTERN int Swig_var_COMPLEMENTS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable COMPLEMENTS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_COMPLEMENTS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + PyObject *swig_obj[7] ; - (void)self; - { - size_t size = SWIG_strnlen(btllib::COMPLEMENTS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::COMPLEMENTS, size); + if (!SWIG_Python_UnpackTuple(args, "ntmc64l", 7, 7, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64l" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64l" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64l" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64l" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); } - return pyobj; -} - - -SWIGINTERN int Swig_var_AMINO_ACIDS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AMINO_ACIDS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_AMINO_ACIDS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - { - size_t size = SWIG_strnlen(btllib::AMINO_ACIDS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::AMINO_ACIDS, size); + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); } - return pyobj; -} - - -SWIGINTERN int Swig_var_CAPITALS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CAPITALS is read-only."); - return 1; + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64l" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + btllib::ntmc64l(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_CAPITALS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + uint64_t *arg3 = 0 ; + unsigned int *arg4 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + bool result; - (void)self; - { - size_t size = SWIG_strnlen(btllib::CAPITALS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::CAPITALS, size); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - return pyobj; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + arg3 = reinterpret_cast< uint64_t * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); + } + arg4 = reinterpret_cast< unsigned int * >(argp4); + result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + unsigned int *arg4 = 0 ; + uint64_t *arg5 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::reverse_complement(*arg1); - resultobj = SWIG_Py_Void(); + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); + } + arg4 = reinterpret_cast< unsigned int * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t *""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,arg5); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - std::string result; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + uint64_t *arg3 = 0 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned int *arg6 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - result = btllib::get_reverse_complement((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + arg3 = reinterpret_cast< uint64_t * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + arg6 = reinterpret_cast< unsigned int * >(argp6); + result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4,*arg5,*arg6); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN int Swig_var_CP_OFF_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CP_OFF is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_CP_OFF_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntc64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[7] = { + 0 + }; - (void)self; - pyobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(btllib::CP_OFF)); - return pyobj; -} - - -SWIGINTERN int Swig_var_MULTISHIFT_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MULTISHIFT is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MULTISHIFT_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntc64", 0, 6, argv))) SWIG_fail; + --argc; + if (argc == 2) { + PyObject *retobj = _wrap_ntc64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 4) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_ntc64__SWIG_1(self, argc, argv); + } +check_2: - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::MULTISHIFT)); - return pyobj; -} - - -SWIGINTERN int Swig_var_MULTISEED_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MULTISEED is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MULTISEED_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 4) { + PyObject *retobj = _wrap_ntc64__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 5) { + PyObject *retobj = _wrap_ntc64__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 6) { + PyObject *retobj = _wrap_ntc64__SWIG_4(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::MULTISEED)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_A_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_A is read-only."); - return 1; +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntc64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntc64(char const *,unsigned int)\n" + " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &)\n" + " btllib::ntc64(unsigned char,unsigned char,unsigned int,uint64_t &,uint64_t &)\n" + " btllib::ntc64(char const *,unsigned int,uint64_t &,unsigned int &)\n" + " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &,uint64_t &,unsigned int &)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_SEED_A_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned int *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + bool result; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_A)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_C_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_C is read-only."); - return 1; + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + arg6 = reinterpret_cast< unsigned int * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_C_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_C)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_G_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_G is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_G_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_G)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_T_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_T is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_T_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_T)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_N_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_N is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_N_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_N)); - return pyobj; -} - - -SWIGINTERN int Swig_var_ASCII_SIZE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable ASCII_SIZE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_ASCII_SIZE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::ASCII_SIZE)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_TAB is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::SEED_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_A33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable A33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_A33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_A31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable A31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_A31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_C33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable C33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_C33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_C31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable C31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_C31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_G33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable G33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_G33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_G31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable G31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_G31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_T33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable T33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_T33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_T31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable T31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_T31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_N33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable N33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_N33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_N31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable N31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_N31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_MS_TAB_33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MS_TAB_33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_33R), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_MS_TAB_31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MS_TAB_31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned int *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + bool *arg8 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + bool result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_31L), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_CONVERT_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CONVERT_TAB is read-only."); - return 1; + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + arg6 = reinterpret_cast< unsigned int * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + arg8 = reinterpret_cast< bool * >(argp8); + result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7,*arg8); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN PyObject *Swig_var_CONVERT_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + bool *arg8 = 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_RC_CONVERT_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable RC_CONVERT_TAB is read-only."); - return 1; + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + arg8 = reinterpret_cast< bool * >(argp8); + btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7,*arg8); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_RC_CONVERT_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ntmc64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[9] = { + 0 + }; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::RC_CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_DIMER_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable DIMER_TAB is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_DIMER_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntmc64", 0, 8, argv))) SWIG_fail; + --argc; + if (argc == 4) { + PyObject *retobj = _wrap_ntmc64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 5) { + PyObject *retobj = _wrap_ntmc64__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 6) { + PyObject *retobj = _wrap_ntmc64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 7) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_4; + PyObject *retobj = _wrap_ntmc64__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_4: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_TRIMER_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable TRIMER_TAB is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_TRIMER_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 7) { + PyObject *retobj = _wrap_ntmc64__SWIG_4(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 8) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_6; + PyObject *retobj = _wrap_ntmc64__SWIG_6(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_6: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TRIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_TETRAMER_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable TETRAMER_TAB is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_TETRAMER_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 8) { + PyObject *retobj = _wrap_ntmc64__SWIG_5(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TETRAMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmc64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" + " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,unsigned int &,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *,bool &)\n" + " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *,bool &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_srol__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_mask_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t val1 ; - int ecode1 = 0 ; + uint64_t *arg1 = 0 ; + uint64_t *arg2 = 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + unsigned int arg5 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + PyObject *swig_obj[5] ; uint64_t result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + if (!SWIG_Python_UnpackTuple(args, "mask_hash", 5, 5, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); + } + arg1 = reinterpret_cast< uint64_t * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mask_hash" "', argument " "3"" of type '" "char const *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mask_hash" "', argument " "4"" of type '" "char const *""'"); + } + arg4 = reinterpret_cast< char * >(buf4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mask_hash" "', argument " "5"" of type '" "unsigned int""'"); } - arg1 = static_cast< uint64_t >(val1); - result = (uint64_t)btllib::srol(arg1); + arg5 = static_cast< unsigned int >(val5); + result = (uint64_t)btllib::mask_hash(*arg1,*arg2,(char const *)arg3,(char const *)arg4,arg5); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } -SWIGINTERN PyObject *_wrap_srol__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_sub_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; uint64_t arg1 ; - unsigned int arg2 ; + uint64_t arg2 ; + char *arg3 = (char *) 0 ; + std::vector< unsigned int,std::allocator< unsigned int > > *arg4 = 0 ; + std::vector< unsigned char,std::allocator< unsigned char > > *arg5 = 0 ; + unsigned int arg6 ; + unsigned int arg7 ; + uint64_t *arg8 = (uint64_t *) 0 ; uint64_t val1 ; int ecode1 = 0 ; - unsigned int val2 ; + uint64_t val2 ; int ecode2 = 0 ; - uint64_t result; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 = SWIG_OLDOBJ ; + int res5 = SWIG_OLDOBJ ; + unsigned int val6 ; + int ecode6 = 0 ; + unsigned int val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + PyObject *swig_obj[8] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "sub_hash", 8, 8, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sub_hash" "', argument " "1"" of type '" "uint64_t""'"); } arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "srol" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sub_hash" "', argument " "2"" of type '" "uint64_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::srol(arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg2 = static_cast< uint64_t >(val2); + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sub_hash" "', argument " "3"" of type '" "char const *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + { + std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; + res4 = swig::asptr(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + } + arg4 = ptr; + } + { + std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; + res5 = swig::asptr(swig_obj[4], &ptr); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + arg5 = ptr; + } + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "sub_hash" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "sub_hash" "', argument " "7"" of type '" "unsigned int""'"); + } + arg7 = static_cast< unsigned int >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "sub_hash" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + btllib::sub_hash(arg1,arg2,(char const *)arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg5,arg6,arg7,arg8); + resultobj = SWIG_Py_Void(); + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; + return resultobj; +fail: + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + unsigned int arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + uint64_t *arg7 = (uint64_t *) 0 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + unsigned int *arg11 = 0 ; + uint64_t *arg12 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; + void *argp12 = 0 ; + int res12 = 0 ; + bool result; + + if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg3 = ptr; + } + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); + } + if (!argp11) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); + } + arg11 = reinterpret_cast< unsigned int * >(argp11); + res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res12)) { + SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + } + arg12 = reinterpret_cast< uint64_t * >(argp12); + result = (bool)btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,*arg11,arg12); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_srol(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + unsigned int arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + uint64_t *arg7 = (uint64_t *) 0 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "srol", 0, 2, argv))) SWIG_fail; - --argc; - if (argc == 1) { - PyObject *retobj = _wrap_srol__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); } - if (argc == 2) { - PyObject *retobj = _wrap_srol__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'srol'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::srol(uint64_t const)\n" - " btllib::srol(uint64_t const,unsigned int const)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_sror(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t val1 ; - int ecode1 = 0 ; - PyObject *swig_obj[1] ; - uint64_t result; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sror" "', argument " "1"" of type '" "uint64_t""'"); + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg3 = ptr; + } + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); } - arg1 = static_cast< uint64_t >(val1); - result = (uint64_t)btllib::sror(arg1); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); + } + arg11 = reinterpret_cast< uint64_t * >(argp11); + btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); + resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_ntf64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; - unsigned int arg2 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + unsigned int arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + uint64_t *arg7 = (uint64_t *) 0 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - uint64_t result; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntf64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg3 = ptr; + } + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::ntf64((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); + } + arg11 = reinterpret_cast< uint64_t * >(argp11); + btllib::ntmsm64l((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); + resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_ntr64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; - unsigned int arg2 ; + char arg2 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; + unsigned int arg5 ; + unsigned int arg6 ; + unsigned int arg7 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + uint64_t *arg12 = (uint64_t *) 0 ; int res1 ; char *buf1 = 0 ; int alloc1 = 0 ; - unsigned int val2 ; + char val2 ; int ecode2 = 0 ; - uint64_t result; + void *argp3 = 0 ; + int res3 = 0 ; + int res4 = SWIG_OLDOBJ ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + unsigned int val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; + void *argp12 = 0 ; + int res12 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntr64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); } arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64" "', argument " "2"" of type '" "char""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::ntr64((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg2 = static_cast< char >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res4 = swig::asptr(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg4 = ptr; + } + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64" "', argument " "7"" of type '" "unsigned int""'"); + } + arg7 = static_cast< unsigned int >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); + } + arg11 = reinterpret_cast< uint64_t * >(argp11); + res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res12)) { + SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + } + arg12 = reinterpret_cast< uint64_t * >(argp12); + btllib::ntmsm64((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); + resultobj = SWIG_Py_Void(); if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_ntf64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmsm64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[13] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64", 0, 12, argv))) SWIG_fail; + --argc; + if (argc == 11) { + PyObject *retobj = _wrap_ntmsm64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 12) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + { + int res = swig::asptr(argv[2], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_2; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_unsigned_int, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + PyObject *retobj = _wrap_ntmsm64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_2: + + if (argc == 12) { + PyObject *retobj = _wrap_ntmsm64__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,unsigned int &,uint64_t *)\n" + " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" + " btllib::ntmsm64(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; + char *arg1 = (char *) 0 ; + char arg2 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; + unsigned int arg5 ; + unsigned int arg6 ; + unsigned int arg7 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + uint64_t *arg12 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + char val2 ; int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - uint64_t result; + void *argp3 = 0 ; + int res3 = 0 ; + int res4 = SWIG_OLDOBJ ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + unsigned int val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; + void *argp12 = 0 ; + int res12 = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res4 = swig::asptr(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg4 = ptr; + } + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64" "', argument " "3"" of type '" "unsigned char""'"); + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64" "', argument " "4"" of type '" "unsigned char""'"); + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "unsigned int""'"); } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntf64(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg7 = static_cast< unsigned int >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); + } + arg11 = reinterpret_cast< uint64_t * >(argp11); + res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res12)) { + SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64l" "', argument " "12"" of type '" "uint64_t *""'"); + } + arg12 = reinterpret_cast< uint64_t * >(argp12); + btllib::ntmsm64l((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); + resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_ntf64(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64l(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[13] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntf64", 0, 4, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64l", 0, 12, argv))) SWIG_fail; --argc; - if (argc == 2) { - PyObject *retobj = _wrap_ntf64__SWIG_0(self, argc, argv); + if (argc == 11) { + PyObject *retobj = _wrap_ntmsm64l__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 4) { - PyObject *retobj = _wrap_ntf64__SWIG_1(self, argc, argv); + if (argc == 12) { + PyObject *retobj = _wrap_ntmsm64l__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntf64'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64l'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ntf64(char const *,unsigned int)\n" - " btllib::ntf64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); + " btllib::ntmsm64l(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" + " btllib::ntmsm64l(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_ntr64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_prefixes_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64" "', argument " "4"" of type '" "unsigned char""'"); - } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntr64(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ntr64(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntr64", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 2) { - PyObject *retobj = _wrap_ntr64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - if (argc == 4) { - PyObject *retobj = _wrap_ntr64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_prefixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->prefixes = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntr64'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntr64(char const *,unsigned int)\n" - " btllib::ntr64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_prefixes_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - uint64_t result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "Datatype_prefixes_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::ntc64((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->prefixes); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_suffixes_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - uint64_t *arg3 = 0 ; - uint64_t *arg4 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - uint64_t result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - arg3 = reinterpret_cast< uint64_t * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_suffixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - arg4 = reinterpret_cast< uint64_t * >(argp4); - result = (uint64_t)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->suffixes = *arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_suffixes_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - uint64_t result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + if (!SWIG_Python_UnpackTuple(args, "Datatype_suffixes_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg5 = reinterpret_cast< uint64_t * >(argp5); - result = (uint64_t)btllib::ntc64(arg1,arg2,arg3,*arg4,*arg5); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->suffixes); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntf64l(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - PyObject *swig_obj[4] ; - uint64_t result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntf64l", 4, 4, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64l" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64l" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64l" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64l" "', argument " "4"" of type '" "unsigned char""'"); - } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntf64l(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); + } + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_cmds_check_existence_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + } + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->cmds_check_existence = *arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntr64l(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - PyObject *swig_obj[4] ; - uint64_t result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntr64l", 4, 4, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64l" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64l" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64l" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64l" "', argument " "4"" of type '" "unsigned char""'"); - } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntr64l(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (!SWIG_Python_UnpackTuple(args, "Datatype_cmds_check_existence_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + } + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->cmds_check_existence); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject *swig_obj[5] ; - uint64_t result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntc64l", 5, 5, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64l" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64l" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64l" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_read_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - arg5 = reinterpret_cast< uint64_t * >(argp5); - result = (uint64_t)btllib::ntc64l(arg1,arg2,arg3,*arg4,*arg5); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->read_cmds = *arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_read_cmds_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = (uint64_t *) 0 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject *swig_obj[4] ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "nte64", 4, 4, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "nte64" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "nte64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "nte64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "nte64" "', argument " "4"" of type '" "uint64_t *""'"); + if (!SWIG_Python_UnpackTuple(args, "Datatype_read_cmds_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg4 = reinterpret_cast< uint64_t * >(argp4); - btllib::nte64(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->read_cmds); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_write_cmds_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t *""'"); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_write_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - arg4 = reinterpret_cast< uint64_t * >(argp4); - btllib::ntmc64((char const *)arg1,arg2,arg3,arg4); + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->write_cmds = *arg2; resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_write_cmds_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "Datatype_write_cmds_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg6 = reinterpret_cast< uint64_t * >(argp6); - btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,arg6); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->write_cmds); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_append_cmds_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg6 = reinterpret_cast< uint64_t * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_append_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - arg7 = reinterpret_cast< uint64_t * >(argp7); - btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->append_cmds = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -35692,2100 +34331,1527 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyOb } -SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_append_cmds_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject *swig_obj[7] ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntmc64l", 7, 7, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64l" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64l" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64l" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64l" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); - } - arg6 = reinterpret_cast< uint64_t * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64l" "', argument " "7"" of type '" "uint64_t *""'"); + if (!SWIG_Python_UnpackTuple(args, "Datatype_append_cmds_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg7 = reinterpret_cast< uint64_t * >(argp7); - btllib::ntmc64l(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->append_cmds); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Datatype(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - uint64_t *arg3 = 0 ; - unsigned int *arg4 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - bool result; + btllib::Datatype *result = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Datatype")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_Datatype", 0, 0, 0)) SWIG_fail; + result = (btllib::Datatype *)new btllib::Datatype(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Datatype, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN PyObject *_wrap_delete_Datatype(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_Datatype", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - arg3 = reinterpret_cast< uint64_t * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Datatype" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg4 = reinterpret_cast< unsigned int * >(argp4); - result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - unsigned int *arg4 = 0 ; - uint64_t *arg5 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - bool result; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Datatype) /* defines _wrap_delete_Datatype_destructor_closure */ + +SWIGINTERN int Swig_var_DATATYPES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable DATATYPES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_DATATYPES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DATATYPES), SWIGTYPE_p_btllib__Datatype, 0 ); + return pyobj; +} + + +SWIGINTERN int _wrap_new_DataSource(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + btllib::DataSource *result = 0 ; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSource")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_DataSource", 1, 1, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg4 = reinterpret_cast< unsigned int * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t *""'"); + result = (btllib::DataSource *)new btllib::DataSource((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSource, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; +} + + +SWIGINTERN PyObject *_wrap_delete_DataSource(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::DataSource *arg1 = (btllib::DataSource *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_DataSource", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSource, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSource" "', argument " "1"" of type '" "btllib::DataSource *""'"); } - arg5 = reinterpret_cast< uint64_t * >(argp5); - result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,arg5); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::DataSource * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSource) /* defines _wrap_delete_DataSource_destructor_closure */ + +SWIGINTERN int _wrap_new_DataSink__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - uint64_t *arg3 = 0 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned int *arg6 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; + std::string *arg1 = 0 ; + bool arg2 ; + int res1 = SWIG_OLDOBJ ; + bool val2 ; int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - bool result; + btllib::DataSink *result = 0 ; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataSink" "', argument " "2"" of type '" "bool""'"); } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - arg3 = reinterpret_cast< uint64_t * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + arg2 = static_cast< bool >(val2); + result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; +} + + +SWIGINTERN int _wrap_new_DataSink__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::DataSink *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg6 = reinterpret_cast< unsigned int * >(argp6); - result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; + result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_ntc64(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_DataSink(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[7] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntc64", 0, 6, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSink")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_DataSink", 0, 2, argv))) SWIG_fail; --argc; - if (argc == 2) { - PyObject *retobj = _wrap_ntc64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 4) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_ntc64__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 4) { - PyObject *retobj = _wrap_ntc64__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 5) { - PyObject *retobj = _wrap_ntc64__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 1) { + int retval = _wrap_new_DataSink__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 6) { - PyObject *retobj = _wrap_ntc64__SWIG_4(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 2) { + int retval = _wrap_new_DataSink__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntc64'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DataSink'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ntc64(char const *,unsigned int)\n" - " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &)\n" - " btllib::ntc64(unsigned char,unsigned char,unsigned int,uint64_t &,uint64_t &)\n" - " btllib::ntc64(char const *,unsigned int,uint64_t &,unsigned int &)\n" - " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &,uint64_t &,unsigned int &)\n"); - return 0; + " btllib::DataSink::DataSink(std::string const &,bool)\n" + " btllib::DataSink::DataSink(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned int *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - bool result; + btllib::DataSink *arg1 = (btllib::DataSink *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "delete_DataSink", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSink, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - arg6 = reinterpret_cast< unsigned int * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSink" "', argument " "1"" of type '" "btllib::DataSink *""'"); } - arg7 = reinterpret_cast< uint64_t * >(argp7); - result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::DataSink * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned int *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - bool *arg8 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - bool result; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSink) /* defines _wrap_delete_DataSink_destructor_closure */ + +SWIGINTERN int Swig_var_PRINT_COLOR_INFO_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_INFO is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_INFO_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - arg6 = reinterpret_cast< unsigned int * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); - } - arg8 = reinterpret_cast< bool * >(argp8); - result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7,*arg8); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_INFO); + return pyobj; +} + + +SWIGINTERN int Swig_var_PRINT_COLOR_WARNING_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_WARNING is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_WARNING_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_WARNING); + return pyobj; +} + + +SWIGINTERN int Swig_var_PRINT_COLOR_ERROR_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_ERROR is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_ERROR_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_ERROR); + return pyobj; +} + + +SWIGINTERN int Swig_var_PRINT_COLOR_END_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_END is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_END_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_END); + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_get_time(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string result; + + if (!SWIG_Python_UnpackTuple(args, "get_time", 0, 0, 0)) SWIG_fail; + result = btllib::get_time(); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_log_info(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - bool *arg8 = 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - - (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - arg6 = reinterpret_cast< uint64_t * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg8 = reinterpret_cast< bool * >(argp8); - btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7,*arg8); + btllib::log_info((std::string const &)*arg1); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[9] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntmc64", 0, 8, argv))) SWIG_fail; - --argc; - if (argc == 4) { - PyObject *retobj = _wrap_ntmc64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 5) { - PyObject *retobj = _wrap_ntmc64__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 6) { - PyObject *retobj = _wrap_ntmc64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 7) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_4; - PyObject *retobj = _wrap_ntmc64__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_4: +SWIGINTERN PyObject *_wrap_log_warning(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - if (argc == 7) { - PyObject *retobj = _wrap_ntmc64__SWIG_4(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 8) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_6; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_6; - PyObject *retobj = _wrap_ntmc64__SWIG_6(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_6: - - if (argc == 8) { - PyObject *retobj = _wrap_ntmc64__SWIG_5(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = ptr; } - + btllib::log_warning((std::string const &)*arg1); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmc64'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" - " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,unsigned int &,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *,bool &)\n" - " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *,bool &)\n"); - return 0; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *_wrap_mask_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_log_error(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t *arg1 = 0 ; - uint64_t *arg2 = 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - unsigned int arg5 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - PyObject *swig_obj[5] ; - uint64_t result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "mask_hash", 5, 5, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); - } - arg1 = reinterpret_cast< uint64_t * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mask_hash" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mask_hash" "', argument " "4"" of type '" "char const *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg4 = reinterpret_cast< char * >(buf4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mask_hash" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (uint64_t)btllib::mask_hash(*arg1,*arg2,(char const *)arg3,(char const *)arg4,arg5); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + btllib::log_error((std::string const &)*arg1); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_sub_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_check_info(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t arg2 ; - char *arg3 = (char *) 0 ; - std::vector< unsigned int,std::allocator< unsigned int > > *arg4 = 0 ; - std::vector< unsigned char,std::allocator< unsigned char > > *arg5 = 0 ; - unsigned int arg6 ; - unsigned int arg7 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t val1 ; + bool arg1 ; + std::string *arg2 = 0 ; + bool val1 ; int ecode1 = 0 ; - uint64_t val2 ; - int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 = SWIG_OLDOBJ ; - int res5 = SWIG_OLDOBJ ; - unsigned int val6 ; - int ecode6 = 0 ; - unsigned int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject *swig_obj[8] ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "sub_hash", 8, 8, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_Python_UnpackTuple(args, "check_info", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sub_hash" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sub_hash" "', argument " "2"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_info" "', argument " "1"" of type '" "bool""'"); } - arg2 = static_cast< uint64_t >(val2); - res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sub_hash" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); + arg1 = static_cast< bool >(val1); { - std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; - res4 = swig::asptr(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); } - arg4 = ptr; + arg2 = ptr; } + btllib::check_info(arg1,(std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_check_warning(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + bool arg1 ; + std::string *arg2 = 0 ; + bool val1 ; + int ecode1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "check_warning", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_warning" "', argument " "1"" of type '" "bool""'"); + } + arg1 = static_cast< bool >(val1); { - std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; - res5 = swig::asptr(swig_obj[4], &ptr); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); } - arg5 = ptr; - } - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "sub_hash" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "sub_hash" "', argument " "7"" of type '" "unsigned int""'"); - } - arg7 = static_cast< unsigned int >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "sub_hash" "', argument " "8"" of type '" "uint64_t *""'"); + arg2 = ptr; } - arg8 = reinterpret_cast< uint64_t * >(argp8); - btllib::sub_hash(arg1,arg2,(char const *)arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg5,arg6,arg7,arg8); + btllib::check_warning(arg1,(std::string const &)*arg2); resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - uint64_t *arg7 = (uint64_t *) 0 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - unsigned int *arg11 = 0 ; - uint64_t *arg12 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - void *argp12 = 0 ; - int res12 = 0 ; - bool result; + bool arg1 ; + std::string *arg2 = 0 ; + bool val1 ; + int ecode1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + if (!SWIG_Python_UnpackTuple(args, "check_error", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_error" "', argument " "1"" of type '" "bool""'"); + } + arg1 = static_cast< bool >(val1); { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); + arg2 = ptr; } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); + btllib::check_error(arg1,(std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_strerror(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string result; + + if (!SWIG_Python_UnpackTuple(args, "get_strerror", 0, 0, 0)) SWIG_fail; + result = btllib::get_strerror(); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::ios *arg1 = 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "check_stream", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); } - arg11 = reinterpret_cast< unsigned int * >(argp11); - res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res12)) { - SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); } - arg12 = reinterpret_cast< uint64_t * >(argp12); - result = (bool)btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,*arg11,arg12); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + arg1 = reinterpret_cast< std::ios * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + btllib::check_stream((std::basic_ios< char,std::char_traits< char > > const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_check_file_accessibility(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - uint64_t *arg7 = (uint64_t *) 0 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + if (!args) SWIG_fail; + swig_obj[0] = args; { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); + arg1 = ptr; } - arg11 = reinterpret_cast< uint64_t * >(argp11); - btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); + btllib::check_file_accessibility((std::string const &)*arg1); resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - uint64_t *arg7 = (uint64_t *) 0 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; +SWIGINTERN int Swig_var_MI_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MI_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MI_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + pyobj = SWIG_FromCharPtr(btllib::MI_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_MIBF_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES_MIBF is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_MIBF_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES_MIBF)); + return pyobj; +} + + +SWIGINTERN int Swig_var_NTHASH_FN_NAME_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NTHASH_FN_NAME is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_NTHASH_FN_NAME_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::NTHASH_FN_NAME); + return pyobj; +} + + +SWIGINTERN int Swig_var_NTHASH_HASH_NUM_MAX_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NTHASH_HASH_NUM_MAX is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_NTHASH_HASH_NUM_MAX_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_HASH_NUM_MAX)); + return pyobj; +} + + +SWIGINTERN int Swig_var_NTHASH_K_MAX_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NTHASH_K_MAX is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_NTHASH_K_MAX_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_K_MAX)); + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); + arg1 = ptr; } - arg11 = reinterpret_cast< uint64_t * >(argp11); - btllib::ntmsm64l((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + result = btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char arg2 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; - unsigned int arg5 ; - unsigned int arg6 ; - unsigned int arg7 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - uint64_t *arg12 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - char val2 ; - int ecode2 = 0 ; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + int res1 = SWIG_OLDOBJ ; + void *argp2 = 0 ; + int res2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - int res4 = SWIG_OLDOBJ ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - unsigned int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - void *argp12 = 0 ; - int res12 = 0 ; - (void)self; - if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res4 = swig::asptr(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg4 = ptr; - } - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64" "', argument " "7"" of type '" "unsigned int""'"); - } - arg7 = static_cast< unsigned int >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); + arg1 = ptr; } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); } - arg11 = reinterpret_cast< uint64_t * >(argp11); - res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res12)) { - SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); } - arg12 = reinterpret_cast< uint64_t * >(argp12); - btllib::ntmsm64((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp3); + btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,*arg2,*arg3); resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_parse_seeds(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[13] = { + PyObject *argv[4] = { 0 }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64", 0, 12, argv))) SWIG_fail; - --argc; - if (argc == 11) { - PyObject *retobj = _wrap_ntmsm64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 12) { - int _v = 0; - { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - { - int res = swig::asptr(argv[2], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_2; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_unsigned_int, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - PyObject *retobj = _wrap_ntmsm64__SWIG_0(self, argc, argv); + + if (!(argc = SWIG_Python_UnpackTuple(args, "parse_seeds", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + PyObject *retobj = _wrap_parse_seeds__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } -check_2: - - if (argc == 12) { - PyObject *retobj = _wrap_ntmsm64__SWIG_2(self, argc, argv); + if (argc == 3) { + PyObject *retobj = _wrap_parse_seeds__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'parse_seeds'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,unsigned int &,uint64_t *)\n" - " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" - " btllib::ntmsm64(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); + " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &)\n" + " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_parsed_seeds_to_blocks(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char arg2 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg1 = 0 ; + unsigned int arg2 ; std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; - unsigned int arg5 ; - unsigned int arg6 ; - unsigned int arg7 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - uint64_t *arg12 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - char val2 ; + int res1 = SWIG_OLDOBJ ; + unsigned int val2 ; int ecode2 = 0 ; void *argp3 = 0 ; int res3 = 0 ; - int res4 = SWIG_OLDOBJ ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - unsigned int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - void *argp12 = 0 ; - int res12 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + PyObject *swig_obj[4] ; - (void)self; - if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); + if (!SWIG_Python_UnpackTuple(args, "parsed_seeds_to_blocks", 4, 4, swig_obj)) SWIG_fail; + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "parsed_seeds_to_blocks" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< char >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); } arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + } + arg4 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp4); + btllib::parsed_seeds_to_blocks((std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg1,arg2,*arg3,*arg4); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_check_seeds(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + unsigned int arg2 ; + int res1 = SWIG_OLDOBJ ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!SWIG_Python_UnpackTuple(args, "check_seeds", 2, 2, swig_obj)) SWIG_fail; { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res4 = swig::asptr(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg4 = ptr; + arg1 = ptr; } - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "unsigned int""'"); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "check_seeds" "', argument " "2"" of type '" "unsigned int""'"); } - arg7 = static_cast< unsigned int >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); - } - arg11 = reinterpret_cast< uint64_t * >(argp11); - res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res12)) { - SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64l" "', argument " "12"" of type '" "uint64_t *""'"); - } - arg12 = reinterpret_cast< uint64_t * >(argp12); - btllib::ntmsm64l((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); + arg2 = static_cast< unsigned int >(val2); + btllib::check_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,arg2); resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64l(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[13] = { - 0 - }; +SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64l", 0, 12, argv))) SWIG_fail; - --argc; - if (argc == 11) { - PyObject *retobj = _wrap_ntmsm64l__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 12) { - PyObject *retobj = _wrap_ntmsm64l__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "NtHash_roll", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->roll(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64l'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntmsm64l(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" - " btllib::ntmsm64l(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_prefixes_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_roll_back", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_prefixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->prefixes = *arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->roll_back(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_prefixes_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_prefixes_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->prefixes); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->peek(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_suffixes_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_suffixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->suffixes = *arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->peek_back(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_suffixes_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + char val2 ; + int ecode2 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_suffixes_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->suffixes); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_NtHash_peek__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_NtHash_peek__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::NtHash::peek()\n" + " btllib::NtHash::peek(char)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + char val2 ; + int ecode2 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_cmds_check_existence_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->cmds_check_existence = *arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek_back" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek_back(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek_back(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek_back", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_NtHash_peek_back__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_NtHash_peek_back__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek_back'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::NtHash::peek_back()\n" + " btllib::NtHash::peek_back(char)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; + std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + int res2 = SWIG_OLDOBJ ; + int res3 = SWIG_OLDOBJ ; + PyObject *swig_obj[3] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_cmds_check_existence_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_sub", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_sub" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->cmds_check_existence); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + { + std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; + res2 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + } + arg2 = ptr; + } + { + std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; + res3 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + arg3 = ptr; + } + (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_hashes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_hashes" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_read_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (uint64_t *)((btllib::NtHash const *)arg1)->hashes(); + + resultobj = PyTuple_New(arg1->get_hash_num()); + for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { + PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->read_cmds = *arg2; - resultobj = SWIG_Py_Void(); + return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_read_cmds_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_read_cmds_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_pos" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->read_cmds); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = ((btllib::NtHash const *)arg1)->get_pos(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_write_cmds_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_write_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_forward" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->write_cmds = *arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)((btllib::NtHash const *)arg1)->forward(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_write_cmds_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_write_cmds_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_hash_num" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->write_cmds); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (unsigned int)((btllib::NtHash const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_append_cmds_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_append_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_k" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->append_cmds = *arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (unsigned int)((btllib::NtHash const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_append_cmds_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_forward_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_append_cmds_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->append_cmds); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (uint64_t)((btllib::NtHash const *)arg1)->get_forward_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN int _wrap_new_Datatype(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::Datatype *result = 0 ; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Datatype")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_Datatype", 0, 0, 0)) SWIG_fail; - result = (btllib::Datatype *)new btllib::Datatype(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Datatype, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN PyObject *_wrap_delete_Datatype(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_reverse_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Datatype", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Datatype" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (uint64_t)((btllib::NtHash const *)arg1)->get_reverse_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Datatype) /* defines _wrap_delete_Datatype_destructor_closure */ - -SWIGINTERN int Swig_var_DATATYPES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable DATATYPES is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_DATATYPES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DATATYPES), SWIGTYPE_p_btllib__Datatype, 0 ); - return pyobj; -} - - -SWIGINTERN int _wrap_new_DataSource(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - btllib::DataSource *result = 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + std::string *arg2 = 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSource")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_DataSource", 1, 1, swig_obj)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); + } + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = (btllib::DataSource *)new btllib::DataSource((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSource, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->change_seq((std::string const &)*arg2,arg3); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_DataSource(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::DataSource *arg1 = (btllib::DataSource *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_DataSource", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSource, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSource" "', argument " "1"" of type '" "btllib::DataSource *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::DataSource * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->change_seq((std::string const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSource) /* defines _wrap_delete_DataSource_destructor_closure */ +SWIGINTERN PyObject *_wrap_NtHash_change_seq(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_change_seq", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + PyObject *retobj = _wrap_NtHash_change_seq__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_NtHash_change_seq__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_change_seq'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::NtHash::change_seq(std::string const &,size_t)\n" + " btllib::NtHash::change_seq(std::string const &)\n"); + return 0; +} -SWIGINTERN int _wrap_new_DataSink__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + +SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - bool arg2 ; - int res1 = SWIG_OLDOBJ ; - bool val2 ; + std::string arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + size_t arg4 ; + unsigned int val2 ; int ecode2 = 0 ; - btllib::DataSink *result = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::NtHash *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); } - arg1 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataSink" "', argument " "2"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< bool >(val2); - result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NtHash" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_DataSink__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::DataSink *result = 0 ; + std::string arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::NtHash *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); } - arg1 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_DataSink(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_NtHash(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSink")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_DataSink", 0, 2, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_NtHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_NtHash", 0, 4, argv))) SWIG_fail; --argc; - if (argc == 1) { - int retval = _wrap_new_DataSink__SWIG_1(self, argc, argv); + if (argc == 3) { + int retval = _wrap_new_NtHash__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 2) { - int retval = _wrap_new_DataSink__SWIG_0(self, argc, argv); + if (argc == 4) { + int retval = _wrap_new_NtHash__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DataSink'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_NtHash'.\n" " Possible C/C++ prototypes are:\n" - " btllib::DataSink::DataSink(std::string const &,bool)\n" - " btllib::DataSink::DataSink(std::string const &)\n"); + " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int,size_t)\n" + " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int)\n"); return -1; } -SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::DataSink *arg1 = (btllib::DataSink *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_DataSink", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSink, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_NtHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSink" "', argument " "1"" of type '" "btllib::DataSink *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_NtHash" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::DataSink * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + delete_btllib_NtHash(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -37793,669 +35859,600 @@ SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSink) /* defines _wrap_delete_DataSink_destructor_closure */ - -SWIGINTERN int Swig_var_PRINT_COLOR_INFO_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_INFO is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_INFO_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_INFO); - return pyobj; -} - - -SWIGINTERN int Swig_var_PRINT_COLOR_WARNING_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_WARNING is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_WARNING_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_WARNING); - return pyobj; -} - - -SWIGINTERN int Swig_var_PRINT_COLOR_ERROR_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_ERROR is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_ERROR_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_ERROR); - return pyobj; -} - - -SWIGINTERN int Swig_var_PRINT_COLOR_END_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_END is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_END_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_END); - return pyobj; -} - - -SWIGINTERN PyObject *_wrap_get_time(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "get_time", 0, 0, 0)) SWIG_fail; - result = btllib::get_time(); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - return resultobj; -fail: - return NULL; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_NtHash) /* defines _wrap_delete_NtHash_destructor_closure */ -SWIGINTERN PyObject *_wrap_log_info(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - btllib::log_info((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->roll(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_log_warning(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - btllib::log_warning((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll_back" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->roll_back(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_log_error(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - btllib::log_error((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_check_info(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - bool arg1 ; - std::string *arg2 = 0 ; - bool val1 ; - int ecode1 = 0 ; - int res2 = SWIG_OLDOBJ ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_info", 2, 2, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_info" "', argument " "1"" of type '" "bool""'"); - } - arg1 = static_cast< bool >(val1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - btllib::check_info(arg1,(std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek_back" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek_back(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_check_warning(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - bool arg1 ; - std::string *arg2 = 0 ; - bool val1 ; - int ecode1 = 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; + std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + int res3 = SWIG_OLDOBJ ; + PyObject *swig_obj[3] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_warning", 2, 2, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_warning" "', argument " "1"" of type '" "bool""'"); - } - arg1 = static_cast< bool >(val1); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_sub", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_sub" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; + res2 = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); } arg2 = ptr; } - btllib::check_warning(arg1,(std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - bool arg1 ; - std::string *arg2 = 0 ; - bool val1 ; - int ecode1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_error", 2, 2, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_error" "', argument " "1"" of type '" "bool""'"); - } - arg1 = static_cast< bool >(val1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); + std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; + res3 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); } - arg2 = ptr; + arg3 = ptr; } - btllib::check_error(arg1,(std::string const &)*arg2); + (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_get_strerror(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string result; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_hashes" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (uint64_t *)((btllib::BlindNtHash const *)arg1)->hashes(); + + resultobj = PyTuple_New(arg1->get_hash_num()); + for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { + PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + } - (void)self; - if (!SWIG_Python_UnpackTuple(args, "get_strerror", 0, 0, 0)) SWIG_fail; - result = btllib::get_strerror(); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::ios *arg1 = 0 ; - std::string *arg2 = 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_stream", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); - } - arg1 = reinterpret_cast< std::ios * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_pos" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - btllib::check_stream((std::basic_ios< char,std::char_traits< char > > const &)*arg1,(std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = ((btllib::BlindNtHash const *)arg1)->get_pos(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_check_file_accessibility(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_forward" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - btllib::check_file_accessibility((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (bool)((btllib::BlindNtHash const *)arg1)->forward(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN int Swig_var_MI_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MI_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MI_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::MI_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_MIBF_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES_MIBF is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_MIBF_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES_MIBF)); - return pyobj; -} - - -SWIGINTERN int Swig_var_NTHASH_FN_NAME_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable NTHASH_FN_NAME is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_NTHASH_FN_NAME_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::NTHASH_FN_NAME); - return pyobj; -} - - -SWIGINTERN int Swig_var_NTHASH_HASH_NUM_MAX_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable NTHASH_HASH_NUM_MAX is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_k" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_NTHASH_HASH_NUM_MAX_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_HASH_NUM_MAX)); - return pyobj; -} - - -SWIGINTERN int Swig_var_NTHASH_K_MAX_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable NTHASH_K_MAX is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_forward_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_NTHASH_K_MAX_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_K_MAX)); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_reverse_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + std::string *arg2 = 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BlindNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->change_seq((std::string const &)*arg2,arg3); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - int res1 = SWIG_OLDOBJ ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; - } - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + arg2 = ptr; } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp3); - btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,*arg2,*arg3); + (arg1)->change_seq((std::string const &)*arg2); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_parse_seeds(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "parse_seeds", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - PyObject *retobj = _wrap_parse_seeds__SWIG_0(self, argc, argv); + if (!(argc = SWIG_Python_UnpackTuple(args, "BlindNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_parse_seeds__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'parse_seeds'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BlindNtHash_change_seq'.\n" " Possible C/C++ prototypes are:\n" - " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &)\n" - " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &)\n"); + " btllib::BlindNtHash::change_seq(std::string const &,size_t)\n" + " btllib::BlindNtHash::change_seq(std::string const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_parsed_seeds_to_blocks(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg1 = 0 ; + std::string arg1 ; unsigned int arg2 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; - int res1 = SWIG_OLDOBJ ; + unsigned int arg3 ; + size_t arg4 ; unsigned int val2 ; int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject *swig_obj[4] ; + unsigned int val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::BlindNtHash *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "parsed_seeds_to_blocks", 4, 4, swig_obj)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); } - arg1 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "parsed_seeds_to_blocks" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); - } - arg4 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp4); - btllib::parsed_seeds_to_blocks((std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg1,arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BlindNtHash" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_check_seeds(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + std::string arg1 ; unsigned int arg2 ; - int res1 = SWIG_OLDOBJ ; + unsigned int arg3 ; unsigned int val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::BlindNtHash *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_seeds", 2, 2, swig_obj)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); } - arg1 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "check_seeds" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - btllib::check_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,arg2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_BlindNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[5] = { + 0 + }; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BlindNtHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_BlindNtHash", 0, 4, argv))) SWIG_fail; + --argc; + if (argc == 3) { + int retval = _wrap_new_BlindNtHash__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 4) { + int retval = _wrap_new_BlindNtHash__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BlindNtHash'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int,size_t)\n" + " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int)\n"); + return -1; +} + + +SWIGINTERN PyObject *_wrap_delete_BlindNtHash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_BlindNtHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BlindNtHash" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + delete_btllib_BlindNtHash(arg1); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BlindNtHash) /* defines _wrap_delete_BlindNtHash_destructor_closure */ + +SWIGINTERN PyObject *_wrap_SeedNtHash_roll(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_roll", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); result = (bool)(arg1)->roll(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; @@ -38464,20 +36461,20 @@ SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_roll_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_roll_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll_back", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); result = (bool)(arg1)->roll_back(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; @@ -38486,20 +36483,19 @@ SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; bool result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); result = (bool)(arg1)->peek(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; @@ -38508,20 +36504,19 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, } -SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; bool result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); result = (bool)(arg1)->peek_back(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; @@ -38530,9 +36525,9 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t n } -SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -38540,16 +36535,15 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); result = (bool)(arg1)->peek(arg2); @@ -38560,38 +36554,37 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, } -SWIGINTERN PyObject *_wrap_NtHash_peek(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_NtHash_peek__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_NtHash_peek__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek'.\n" " Possible C/C++ prototypes are:\n" - " btllib::NtHash::peek()\n" - " btllib::NtHash::peek(char)\n"); + " btllib::SeedNtHash::peek()\n" + " btllib::SeedNtHash::peek(char)\n"); return 0; } -SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; @@ -38599,16 +36592,15 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t n int ecode2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek_back" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek_back" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); result = (bool)(arg1)->peek_back(arg2); @@ -38619,129 +36611,182 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t n } -SWIGINTERN PyObject *_wrap_NtHash_peek_back(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek_back", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek_back", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_NtHash_peek_back__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_NtHash_peek_back__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek_back'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek_back'.\n" " Possible C/C++ prototypes are:\n" - " btllib::NtHash::peek_back()\n" - " btllib::NtHash::peek_back(char)\n"); + " btllib::SeedNtHash::peek_back()\n" + " btllib::SeedNtHash::peek_back(char)\n"); return 0; } -SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_hashes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; - std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_hashes" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->hashes(); + + resultobj = PyTuple_New(arg1->get_hash_num()); + for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { + PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + } + + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + std::string *arg2 = 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - PyObject *swig_obj[3] ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_sub", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_sub" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); { - std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; - res2 = swig::asptr(swig_obj[0], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - { - std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; - res3 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - arg3 = ptr; - } - (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->change_seq((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_hashes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t *result = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_hashes" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (uint64_t *)((btllib::NtHash const *)arg1)->hashes(); - - resultobj = PyTuple_New(arg1->get_hash_num()); - for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { - PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - + (arg1)->change_seq((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_change_seq'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedNtHash::change_seq(std::string const &,size_t)\n" + " btllib::SeedNtHash::change_seq(std::string const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_pos" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_pos" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = ((btllib::NtHash const *)arg1)->get_pos(); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = ((btllib::SeedNtHash const *)arg1)->get_pos(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -38749,21 +36794,21 @@ SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_forward", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_forward" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_forward" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (bool)((btllib::NtHash const *)arg1)->forward(); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (bool)((btllib::SeedNtHash const *)arg1)->forward(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -38771,21 +36816,43 @@ SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_hash_num" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (unsigned int)((btllib::NtHash const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num_per_seed(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -38793,21 +36860,21 @@ SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_k" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_k" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (unsigned int)((btllib::NtHash const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -38815,291 +36882,320 @@ SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_get_forward_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_get_forward_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (uint64_t)((btllib::NtHash const *)arg1)->get_forward_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_forward_hash(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_get_reverse_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_get_reverse_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (uint64_t)((btllib::NtHash const *)arg1)->get_reverse_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_reverse_hash(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - std::string *arg2 = 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string arg1 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; int res2 = SWIG_OLDOBJ ; - size_t val3 ; + unsigned int val3 ; int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::SeedNtHash *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< size_t >(val3); - (arg1)->change_seq((std::string const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedNtHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + return resultobj == Py_None ? -1 : 0; fail: if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string arg1 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedNtHash *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); } arg2 = ptr; } - (arg1)->change_seq((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + return resultobj == Py_None ? -1 : 0; fail: if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_NtHash_change_seq(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_SeedNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[6] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_change_seq", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - PyObject *retobj = _wrap_NtHash_change_seq__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedNtHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedNtHash", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 4) { + int retval = _wrap_new_SeedNtHash__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 3) { - PyObject *retobj = _wrap_NtHash_change_seq__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 5) { + int retval = _wrap_new_SeedNtHash__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_change_seq'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedNtHash'.\n" " Possible C/C++ prototypes are:\n" - " btllib::NtHash::change_seq(std::string const &,size_t)\n" - " btllib::NtHash::change_seq(std::string const &)\n"); - return 0; + " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" + " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n"); + return -1; } -SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - size_t arg4 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::NtHash *result = 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!SWIG_Python_UnpackTuple(args, "delete_SeedNtHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedNtHash" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + delete_btllib_SeedNtHash(arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedNtHash) /* defines _wrap_delete_SeedNtHash_destructor_closure */ + +SWIGINTERN int _wrap_new_RandSeq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::RandSeq::SeqType arg1 ; + btllib::RandSeq::Masking arg2 ; + int val1 ; + int ecode1 = 0 ; + int val2 ; + int ecode2 = 0 ; + btllib::RandSeq *result = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandSeq" "', argument " "1"" of type '" "btllib::RandSeq::SeqType""'"); } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NtHash" "', argument " "4"" of type '" "size_t""'"); + arg1 = static_cast< btllib::RandSeq::SeqType >(val1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RandSeq" "', argument " "2"" of type '" "btllib::RandSeq::Masking""'"); } - arg4 = static_cast< size_t >(val4); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); + arg2 = static_cast< btllib::RandSeq::Masking >(val2); + result = (btllib::RandSeq *)new btllib::RandSeq(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandSeq, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_RandSeq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::NtHash *result = 0 ; + btllib::RandSeq::SeqType arg1 ; + int val1 ; + int ecode1 = 0 ; + btllib::RandSeq *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandSeq" "', argument " "1"" of type '" "btllib::RandSeq::SeqType""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); + arg1 = static_cast< btllib::RandSeq::SeqType >(val1); + result = (btllib::RandSeq *)new btllib::RandSeq(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandSeq, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_NtHash(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_RandSeq(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_NtHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_NtHash", 0, 4, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_RandSeq")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_RandSeq", 0, 2, argv))) SWIG_fail; --argc; - if (argc == 3) { - int retval = _wrap_new_NtHash__SWIG_1(self, argc, argv); + if (argc == 1) { + int retval = _wrap_new_RandSeq__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 4) { - int retval = _wrap_new_NtHash__SWIG_0(self, argc, argv); + if (argc == 2) { + int retval = _wrap_new_RandSeq__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_NtHash'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_RandSeq'.\n" " Possible C/C++ prototypes are:\n" - " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int,size_t)\n" - " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int)\n"); + " btllib::RandSeq::RandSeq(btllib::RandSeq::SeqType,btllib::RandSeq::Masking)\n" + " btllib::RandSeq::RandSeq(btllib::RandSeq::SeqType)\n"); return -1; } -SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_RandSeq_set_seed(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; + unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; + unsigned long val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_NtHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, SWIG_POINTER_DISOWN | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_NtHash" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandSeq_set_seed" "', argument " "1"" of type '" "btllib::RandSeq *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - delete_btllib_NtHash(arg1); + arg1 = reinterpret_cast< btllib::RandSeq * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandSeq_set_seed" "', argument " "2"" of type '" "unsigned long""'"); + } + arg2 = static_cast< unsigned long >(val2); + (arg1)->set_seed(arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -39107,5368 +37203,5734 @@ SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_NtHash) /* defines _wrap_delete_NtHash_destructor_closure */ - -SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_RandSeq_generate(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - char arg2 ; + btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - char val2 ; + size_t val2 ; int ecode2 = 0 ; PyObject *swig_obj[2] ; - bool result; + std::string result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandSeq_generate" "', argument " "1"" of type '" "btllib::RandSeq *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + arg1 = reinterpret_cast< btllib::RandSeq * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandSeq_generate" "', argument " "2"" of type '" "size_t""'"); } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->roll(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg2 = static_cast< size_t >(val2); + result = (arg1)->generate(arg2); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_RandSeq(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - char arg2 ; + btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - bool result; + PyObject *swig_obj[1] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_RandSeq", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RandSeq" "', argument " "1"" of type '" "btllib::RandSeq *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll_back" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->roll_back(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::RandSeq * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - bool result; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_RandSeq) /* defines _wrap_delete_RandSeq_destructor_closure */ + +SWIGINTERN int Swig_var_AA_SEED_A_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_A is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_A_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_A)); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_C_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_C is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_C_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_C)); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_D_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_D is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_D_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_D)); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_E_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_E is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_E_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_E)); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_F_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_F is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_F_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_F)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_G_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_G is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_G_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek_back" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek_back(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_G)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; - std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - PyObject *swig_obj[3] ; +SWIGINTERN int Swig_var_AA_SEED_H_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_H is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_H_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_sub", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_sub" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - { - std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; - res2 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); - } - arg2 = ptr; - } - { - std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; - res3 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - arg3 = ptr; - } - (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_H)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_I_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_I is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_I_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_hashes" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (uint64_t *)((btllib::BlindNtHash const *)arg1)->hashes(); - - resultobj = PyTuple_New(arg1->get_hash_num()); - for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { - PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); - } - - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_I)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; +SWIGINTERN int Swig_var_AA_SEED_K_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_K is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_K_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_pos" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = ((btllib::BlindNtHash const *)arg1)->get_pos(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_K)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_forward", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_forward" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (bool)((btllib::BlindNtHash const *)arg1)->forward(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_L)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN int Swig_var_AA_SEED_M_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_M is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_M_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_M)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN int Swig_var_AA_SEED_N_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_N is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_N_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_k" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_N)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; +SWIGINTERN int Swig_var_AA_SEED_P_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_P is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_P_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_forward_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_P)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; +SWIGINTERN int Swig_var_AA_SEED_Q_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Q is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_Q_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_reverse_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_Q)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - std::string *arg2 = 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - size_t val3 ; - int ecode3 = 0 ; +SWIGINTERN int Swig_var_AA_SEED_R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BlindNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->change_seq((std::string const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_R)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; +SWIGINTERN int Swig_var_AA_SEED_S_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_S is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_S_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->change_seq((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_S)); + return pyobj; } -SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; +SWIGINTERN int Swig_var_AA_SEED_T_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_T is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_T_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BlindNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BlindNtHash_change_seq'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BlindNtHash::change_seq(std::string const &,size_t)\n" - " btllib::BlindNtHash::change_seq(std::string const &)\n"); - return 0; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_T)); + return pyobj; } -SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - size_t arg4 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::BlindNtHash *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_V_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_V is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_V_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BlindNtHash" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_V)); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_W_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_W is read-only."); + return 1; } -SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::BlindNtHash *result = 0 ; +SWIGINTERN PyObject *Swig_var_AA_SEED_W_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_W)); + return pyobj; } -SWIGINTERN int _wrap_new_BlindNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; +SWIGINTERN int Swig_var_AA_SEED_Y_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Y is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_Y_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BlindNtHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_BlindNtHash", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 3) { - int retval = _wrap_new_BlindNtHash__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int retval = _wrap_new_BlindNtHash__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BlindNtHash'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int,size_t)\n" - " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int)\n"); - return -1; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_Y)); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_BlindNtHash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_AA_SEED___set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED__ is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED___get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_BlindNtHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BlindNtHash" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - delete_btllib_BlindNtHash(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED__)); + return pyobj; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BlindNtHash) /* defines _wrap_delete_BlindNtHash_destructor_closure */ +SWIGINTERN int Swig_var_AA_SEED_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_TABLE is read-only."); + return 1; +} -SWIGINTERN PyObject *_wrap_SeedNtHash_roll(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; + +SWIGINTERN PyObject *Swig_var_AA_SEED_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->roll(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_roll_back(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_A_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_A_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_A_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->roll_back(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_A_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_A_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_A_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_A_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->peek(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_A_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_C_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_C_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_C_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->peek_back(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_C_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_C_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_C_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_C_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_C_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN int Swig_var_AA_SEED_D_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_D_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_D_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::peek()\n" - " btllib::SeedNtHash::peek(char)\n"); - return 0; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_D_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_D_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_D_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_D_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek_back" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek_back(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_D_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN int Swig_var_AA_SEED_E_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_E_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_E_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek_back", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek_back'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::peek_back()\n" - " btllib::SeedNtHash::peek_back(char)\n"); - return 0; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_E_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_hashes(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_E_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_E_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_E_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_hashes" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->hashes(); - - resultobj = PyTuple_New(arg1->get_hash_num()); - for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { - PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); - } + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_E_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_F_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_F_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_F_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; - return resultobj; -fail: - return NULL; + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_F_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - std::string *arg2 = 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - size_t val3 ; - int ecode3 = 0 ; +SWIGINTERN int Swig_var_AA_SEED_F_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_F_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_F_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->change_seq((std::string const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_F_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; +SWIGINTERN int Swig_var_AA_SEED_G_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_G_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_G_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->change_seq((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_G_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_G_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_G_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_G_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_G_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_change_seq'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::change_seq(std::string const &,size_t)\n" - " btllib::SeedNtHash::change_seq(std::string const &)\n"); - return 0; +SWIGINTERN int Swig_var_AA_SEED_H_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_H_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; +SWIGINTERN PyObject *Swig_var_AA_SEED_H_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_pos" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = ((btllib::SeedNtHash const *)arg1)->get_pos(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_H_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_AA_SEED_H_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_H_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_H_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_forward", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_forward" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)((btllib::SeedNtHash const *)arg1)->forward(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_H_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN int Swig_var_AA_SEED_I_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_I_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_I_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_I_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN int Swig_var_AA_SEED_I_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_I_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_I_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num_per_seed(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_I_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN int Swig_var_AA_SEED_K_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_K_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_K_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_k" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_K_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_forward_hash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_K_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_K_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_K_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_forward_hash(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_K_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_reverse_hash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_L_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_L_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_L_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_reverse_hash(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_L_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::SeedNtHash *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_L_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_L_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_L_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedNtHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_L_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedNtHash *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_M_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_M_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_M_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_M_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_SeedNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; +SWIGINTERN int Swig_var_AA_SEED_M_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_M_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_M_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedNtHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedNtHash", 0, 5, argv))) SWIG_fail; - --argc; - if (argc == 4) { - int retval = _wrap_new_SeedNtHash__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int retval = _wrap_new_SeedNtHash__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedNtHash'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" - " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n"); - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_M_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_AA_SEED_N_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_N_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_N_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeedNtHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedNtHash" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - delete_btllib_SeedNtHash(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_N_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedNtHash) /* defines _wrap_delete_SeedNtHash_destructor_closure */ +SWIGINTERN int Swig_var_AA_SEED_N_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_N_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} -SWIGINTERN int _wrap_new_RandSeq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::RandSeq::SeqType arg1 ; - btllib::RandSeq::Masking arg2 ; - int val1 ; - int ecode1 = 0 ; - int val2 ; - int ecode2 = 0 ; - btllib::RandSeq *result = 0 ; + +SWIGINTERN PyObject *Swig_var_AA_SEED_N_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandSeq" "', argument " "1"" of type '" "btllib::RandSeq::SeqType""'"); - } - arg1 = static_cast< btllib::RandSeq::SeqType >(val1); - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RandSeq" "', argument " "2"" of type '" "btllib::RandSeq::Masking""'"); - } - arg2 = static_cast< btllib::RandSeq::Masking >(val2); - result = (btllib::RandSeq *)new btllib::RandSeq(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandSeq, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_N_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_RandSeq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::RandSeq::SeqType arg1 ; - int val1 ; - int ecode1 = 0 ; - btllib::RandSeq *result = 0 ; +SWIGINTERN int Swig_var_AA_SEED_P_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_P_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_P_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandSeq" "', argument " "1"" of type '" "btllib::RandSeq::SeqType""'"); - } - arg1 = static_cast< btllib::RandSeq::SeqType >(val1); - result = (btllib::RandSeq *)new btllib::RandSeq(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandSeq, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_P_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_RandSeq(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN int Swig_var_AA_SEED_P_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_P_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_P_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_RandSeq")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_RandSeq", 0, 2, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int retval = _wrap_new_RandSeq__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int retval = _wrap_new_RandSeq__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_RandSeq'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::RandSeq::RandSeq(btllib::RandSeq::SeqType,btllib::RandSeq::Masking)\n" - " btllib::RandSeq::RandSeq(btllib::RandSeq::SeqType)\n"); - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_P_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_RandSeq_set_seed(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; - unsigned long arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned long val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; +SWIGINTERN int Swig_var_AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandSeq_set_seed" "', argument " "1"" of type '" "btllib::RandSeq *""'"); - } - arg1 = reinterpret_cast< btllib::RandSeq * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandSeq_set_seed" "', argument " "2"" of type '" "unsigned long""'"); - } - arg2 = static_cast< unsigned long >(val2); - (arg1)->set_seed(arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_RandSeq_generate(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - std::string result; +SWIGINTERN int Swig_var_AA_SEED_Q_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Q_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_Q_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandSeq_generate" "', argument " "1"" of type '" "btllib::RandSeq *""'"); - } - arg1 = reinterpret_cast< btllib::RandSeq * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandSeq_generate" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - result = (arg1)->generate(arg2); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Q_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_RandSeq(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_AA_SEED_R_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_R_RIGHT_33BITS_ROLL_TABLE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_AA_SEED_R_RIGHT_33BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_RandSeq", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RandSeq" "', argument " "1"" of type '" "btllib::RandSeq *""'"); - } - arg1 = reinterpret_cast< btllib::RandSeq * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_R_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_RandSeq) /* defines _wrap_delete_RandSeq_destructor_closure */ +SWIGINTERN int Swig_var_AA_SEED_R_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_R_LEFT_31BITS_ROLL_TABLE is read-only."); + return 1; +} -SWIGINTERN int Swig_var_AA_SEED_A_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_A is read-only."); + +SWIGINTERN PyObject *Swig_var_AA_SEED_R_LEFT_31BITS_ROLL_TABLE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_R_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_AA_SEED_S_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_S_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_A_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_S_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_A)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_S_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_C_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_C is read-only."); +SWIGINTERN int Swig_var_AA_SEED_S_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_S_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_C_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_S_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_C)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_S_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_D_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_D is read-only."); +SWIGINTERN int Swig_var_AA_SEED_T_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_T_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_D_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_T_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_D)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_T_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_E_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_E is read-only."); +SWIGINTERN int Swig_var_AA_SEED_T_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_T_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_E_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_T_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_E)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_T_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_F_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_F is read-only."); +SWIGINTERN int Swig_var_AA_SEED_V_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_V_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_F_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_V_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_F)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_V_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_G_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_G is read-only."); +SWIGINTERN int Swig_var_AA_SEED_V_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_V_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_G_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_V_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_G)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_V_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_H_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_H is read-only."); +SWIGINTERN int Swig_var_AA_SEED_W_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_W_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_H_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_W_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_H)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_W_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_I_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_I is read-only."); +SWIGINTERN int Swig_var_AA_SEED_W_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_W_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_I_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_W_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_I)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_W_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_K_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_K is read-only."); +SWIGINTERN int Swig_var_AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_K_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_K)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_L is read-only."); +SWIGINTERN int Swig_var_AA_SEED_Y_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Y_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_L_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_Y_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_L)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Y_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_M_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_M is read-only."); +SWIGINTERN int Swig_var_AA_SEED___RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED___RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_M_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED___RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_M)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED___RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_N_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_N is read-only."); +SWIGINTERN int Swig_var_AA_SEED___LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED___LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_N_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED___LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_N)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED___LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_P_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_P is read-only."); +SWIGINTERN int Swig_var_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_P_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_P)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_Q_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Q is read-only."); +SWIGINTERN int Swig_var_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_Q_get(void) { +SWIGINTERN PyObject *Swig_var_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_Q)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_R is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_C____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_C___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_R_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_C____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_R)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_C___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_S_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_S is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_G____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_G___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_S_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_G____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_S)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_G___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_T_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_T is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_A____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_A___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_T_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_A____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_T)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_A___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_V_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_V is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TS___set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TS__ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_V_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TS___get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_V)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_TS__)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_W_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_W is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_N____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_N___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_W_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_N____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_W)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_N___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_Y_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Y is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_DE___set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_DE__ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_Y_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_DE___get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED_Y)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_DE__)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED___set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED__ is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_QKR__set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_QKR_ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED___get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_QKR__get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::AA_SEED__)); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_QKR_)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_VILM_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_VILM is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_VILM_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_VILM)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_A_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_A_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_WFY__set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_WFY_ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_A_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_WFY__get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_A_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_WFY_)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_A_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_A_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_H____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_H___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_A_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_H____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_A_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_H___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_C_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_C_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_P____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_P___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_C_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_P____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_C_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_P___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_C_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_C_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED______set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_____ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_C_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED______get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_C_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_____)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_D_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_D_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_D_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_D_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_D_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_D_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_D_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_D_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_E_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_E_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_E_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_E_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_E_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_E_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_E_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_E_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_F_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_F_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_F_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_F_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_F_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_F_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_F_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_F_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_G_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_G_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_G_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_G_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_G_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_G_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_G_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_G_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_H_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_H_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_H_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_H_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_H_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_H_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_H_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_H_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_I_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_I_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_I_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_I_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_I_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_I_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_I_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_I_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_K_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_K_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_K_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_K_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_K_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_K_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_K_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_K_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_L_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_L_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_L_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_L_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_L_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_L_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_L_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_L_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_M_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_M_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_M_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_M_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_M_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_M_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_M_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_M_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_N_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_N_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_N_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_N_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_N_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_N_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_N_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_N_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_P_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_P_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_P_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_P_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_P_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_P_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_P_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_P_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Q_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_Q_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Q_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_Q_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Q_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_R_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_R_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_R_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_R_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_R_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_R_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_R_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_R_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_S_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_S_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_S_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_S_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_S_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_S_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_C____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_C___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_S_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_C____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_S_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_C___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_T_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_T_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_G____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_G___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_T_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_G____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_T_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_G___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_T_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_T_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_ATS__set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_ATS_ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_T_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_ATS__get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_T_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_ATS_)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_V_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_V_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_NDE__set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_NDE_ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_V_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_NDE__get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_V_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_NDE_)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_V_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_V_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_QKR__set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_QKR_ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_V_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_QKR__get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_V_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_QKR_)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_W_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_W_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_VILM_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_VILM is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_W_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_VILM_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_W_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_VILM)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_W_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_W_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_WFY__set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_WFY_ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_W_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_WFY__get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_W_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_WFY_)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_H____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_H___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_H____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Y_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_H___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_Y_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_Y_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_P____set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_P___ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_Y_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_P____get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_Y_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_P___)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED___RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED___RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED______set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_____ is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED___RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED______get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED___RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_____)); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED___LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED___LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED___LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED___LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_C____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_C___ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_C____get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_C___)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_G____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_G___ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_G____get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_G___)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_A____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_A___ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_A____get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_A___)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TS___set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TS__ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TS___get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_TS__)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_N____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_N___ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_N____get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_N___)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_DE___set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_DE__ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_DE___get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_DE__)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_QKR__set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_QKR_ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_QKR__get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_QKR_)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_VILM_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_VILM is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_VILM_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_VILM)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_WFY__set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_WFY_ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_WFY__get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_WFY_)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_H____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_H___ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_H____get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_H___)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_P____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_P___ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_P____get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_P___)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED______set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_____ is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED______get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_2_AA_SEED_____)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_C____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_G____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_A____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_A____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_TS___RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_X_AA_SEED_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_X_AA_SEED_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_X_AA_SEED_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_TS___LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_X_AA_SEED_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_N____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE is read-only."); +SWIGINTERN int Swig_var_LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE_get(void) { +SWIGINTERN PyObject *Swig_var_LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_N____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_p_unsigned_long_long, 0 ); return pyobj; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_aahash_base__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + uint64_t result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aahash_base" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_base" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aahash_base" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (uint64_t)btllib::aahash_base((char const *)arg1,arg2,arg3); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_aahash_base__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_DE___RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aahash_base" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_base" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::aahash_base((char const *)arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_aahash_base(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "aahash_base", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 2) { + PyObject *retobj = _wrap_aahash_base__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_aahash_base__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'aahash_base'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::aahash_base(char const *,unsigned int,unsigned int)\n" + " btllib::aahash_base(char const *,unsigned int)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_aahash_roll__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + unsigned int arg5 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + uint64_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_DE___LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aahash_roll" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_roll" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aahash_roll" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "aahash_roll" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "aahash_roll" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (uint64_t)btllib::aahash_roll(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_aahash_roll__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + uint64_t result; + + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aahash_roll" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_roll" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aahash_roll" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "aahash_roll" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::aahash_roll(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_aahash_roll(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if (!(argc = SWIG_Python_UnpackTuple(args, "aahash_roll", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 4) { + PyObject *retobj = _wrap_aahash_roll__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 5) { + PyObject *retobj = _wrap_aahash_roll__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'aahash_roll'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::aahash_roll(uint64_t,unsigned int,unsigned char,unsigned char,unsigned int)\n" + " btllib::aahash_roll(uint64_t,unsigned int,unsigned char,unsigned char)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_aa_modify_base_with_seed(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + uint64_t arg1 ; + btllib::SpacedSeed *arg2 = 0 ; + char *arg3 = (char *) 0 ; + unsigned int arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + int res2 = SWIG_OLDOBJ ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + PyObject *swig_obj[4] ; + uint64_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "aa_modify_base_with_seed", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aa_modify_base_with_seed" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + { + std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aa_modify_base_with_seed" "', argument " "2"" of type '" "btllib::SpacedSeed const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "aa_modify_base_with_seed" "', argument " "2"" of type '" "btllib::SpacedSeed const &""'"); + } + arg2 = ptr; + } + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "aa_modify_base_with_seed" "', argument " "3"" of type '" "char const *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "aa_modify_base_with_seed" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (uint64_t)btllib::aa_modify_base_with_seed(arg1,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(char const *)arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_aa_parse_seeds(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aa_parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "aa_parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg1 = ptr; + } + result = btllib::aa_parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_AAHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string_view arg1 ; + uint8_t arg2 ; + uint16_t arg3 ; + unsigned int arg4 ; + size_t arg5 ; + void *argp1 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned short val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::AAHash *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string_view, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); + } else { + std::string_view * temp = reinterpret_cast< std::string_view * >(argp1); + arg1 = *temp; + if (SWIG_IsNewObj(res1)) delete temp; + } + } + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "uint8_t""'"); + } + arg2 = static_cast< uint8_t >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "uint16_t""'"); + } + arg3 = static_cast< uint16_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AAHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::AAHash *)new btllib::AAHash(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN int _wrap_new_AAHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string_view arg1 ; + uint8_t arg2 ; + uint16_t arg3 ; + unsigned int arg4 ; + void *argp1 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned short val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::AAHash *result = 0 ; + + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string_view, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); + } else { + std::string_view * temp = reinterpret_cast< std::string_view * >(argp1); + arg1 = *temp; + if (SWIG_IsNewObj(res1)) delete temp; + } + } + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "uint8_t""'"); + } + arg2 = static_cast< uint8_t >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "uint16_t""'"); + } + arg3 = static_cast< uint16_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::AAHash *)new btllib::AAHash(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_AAHash_roll(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "AAHash_roll", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_roll" "', argument " "1"" of type '" "btllib::AAHash *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (bool)(arg1)->roll(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_AAHash_hashes(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "AAHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_hashes" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (uint64_t *)((btllib::AAHash const *)arg1)->hashes(); + + resultobj = PyTuple_New(arg1->get_hash_num()); + for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { + PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + } + + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_AAHash_get_pos(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "AAHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_pos" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = ((btllib::AAHash const *)arg1)->get_pos(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_AAHash_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "AAHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_hash_num" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (unsigned int)((btllib::AAHash const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_AAHash_get_k(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "AAHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_k" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (unsigned int)((btllib::AAHash const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_AAHash_forward(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + if (!SWIG_Python_UnpackTuple(args, "AAHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_forward" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (bool)((btllib::AAHash const *)arg1)->forward(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_AAHash_get_forward_hash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "AAHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_forward_hash" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (uint64_t)((btllib::AAHash const *)arg1)->get_forward_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_AAHash_get_level(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "AAHash_get_level", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_level" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (unsigned int)((btllib::AAHash const *)arg1)->get_level(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_AAHash_get_seq(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_H____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "AAHash_get_seq", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_seq" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + result = (char *)((btllib::AAHash const *)arg1)->get_seq(); + resultobj = SWIG_FromCharPtr((const char *)result); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN int _wrap_new_AAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::AAHash *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AAHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_AAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::AAHash *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_AAHash(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_P____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_AAHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_AAHash", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 4) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__string_view, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_1; + { + { + int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_1; + int retval = _wrap_new_AAHash__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_1: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED______RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 4) { + int retval = _wrap_new_AAHash__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 5) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__string_view, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_3; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_3; + { + { + int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_3; + int retval = _wrap_new_AAHash__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_3: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED______LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if (argc == 5) { + int retval = _wrap_new_AAHash__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_AAHash'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::AAHash::AAHash(std::string_view,uint8_t,uint16_t,unsigned int,size_t)\n" + " btllib::AAHash::AAHash(std::string_view,uint8_t,uint16_t,unsigned int)\n" + " btllib::AAHash::AAHash(std::string,unsigned int,unsigned int,unsigned int,size_t)\n" + " btllib::AAHash::AAHash(std::string,unsigned int,unsigned int,unsigned int)\n"); + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_AAHash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "delete_AAHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AAHash" "', argument " "1"" of type '" "btllib::AAHash *""'"); + } + arg1 = reinterpret_cast< btllib::AAHash * >(argp1); + delete_btllib_AAHash(arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_AAHash) /* defines _wrap_delete_AAHash_destructor_closure */ -SWIGINTERN PyObject *Swig_var_LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_2_AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_C____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_C___ is read-only."); - return 1; + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_C____get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_C___)); - return pyobj; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_G____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_G___ is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::SeedAAHash *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_G____get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_G___)); - return pyobj; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_ATS__set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_ATS_ is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::SeedAAHash *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_ATS__get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_ATS_)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_NDE__set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_NDE_ is read-only."); - return 1; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_NDE__get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_NDE_)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_QKR__set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_QKR_ is read-only."); - return 1; + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_QKR__get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_QKR_)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_VILM_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_VILM is read-only."); - return 1; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_VILM_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_VILM)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_WFY__set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_WFY_ is read-only."); - return 1; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash const &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash const &""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((btllib::SeedAAHash const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_WFY__get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + btllib::SeedAAHash *result = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_WFY_)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_H____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_H___ is read-only."); - return 1; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (btllib::SeedAAHash *)new btllib::SeedAAHash((btllib::SeedAAHash &&)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_H____get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedAAHash(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_H___)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_P____set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_P___ is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_P____get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedAAHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedAAHash", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_new_SeedAAHash__SWIG_8(self, argc, argv); + } +check_1: - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_P___)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED______set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_____ is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED______get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 1) { + int retval = _wrap_new_SeedAAHash__SWIG_9(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 4) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_3; + { + int res = swig::asptr(argv[1], (std::vector< std::string,std::allocator< std::string > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_3; + int retval = _wrap_new_SeedAAHash__SWIG_7(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_3: - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::LEVEL_3_AA_SEED_____)); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 4) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_4; + { + int res = swig::asptr(argv[1], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_4; + int retval = _wrap_new_SeedAAHash__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_4: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 4) { + int _v = 0; + { + int res = swig::asptr(argv[1], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_5; + int retval = _wrap_new_SeedAAHash__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_5: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_C____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 4) { + int retval = _wrap_new_SeedAAHash__SWIG_5(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 5) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_7; + { + int res = swig::asptr(argv[1], (std::vector< std::string,std::allocator< std::string > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_7; + int retval = _wrap_new_SeedAAHash__SWIG_6(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_7: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_C____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 5) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_8; + { + int res = swig::asptr(argv[1], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_8; + int retval = _wrap_new_SeedAAHash__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_8: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_G____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 5) { + int _v = 0; + { + int res = swig::asptr(argv[1], (std::vector< std::string,std::allocator< std::string > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_9; + int retval = _wrap_new_SeedAAHash__SWIG_4(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_9: + + if (argc == 5) { + int retval = _wrap_new_SeedAAHash__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_G____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedAAHash'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" + " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n" + " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" + " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n" + " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int,size_t)\n" + " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int)\n" + " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int,size_t)\n" + " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int)\n" + " btllib::SeedAAHash::SeedAAHash(btllib::SeedAAHash const &)\n" + " btllib::SeedAAHash::SeedAAHash(btllib::SeedAAHash &&)\n"); + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedAAHash_roll(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_ATS__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_roll", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_roll" "', argument " "1"" of type '" "btllib::SeedAAHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (bool)(arg1)->roll(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedAAHash_hashes(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_ATS__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_hashes" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (uint64_t *)((btllib::SeedAAHash const *)arg1)->hashes(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedAAHash_get_pos(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_NDE__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_pos" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = ((btllib::SeedAAHash const *)arg1)->get_pos(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedAAHash_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_NDE__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_hash_num" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (unsigned int)((btllib::SeedAAHash const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedAAHash_get_hash_num_per_seed(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_QKR__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (unsigned int)((btllib::SeedAAHash const *)arg1)->get_hash_num_per_seed(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedAAHash_get_k(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_QKR__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_k" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + result = (unsigned int)((btllib::SeedAAHash const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_SeedAAHash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_VILM_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "delete_SeedAAHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedAAHash) /* defines _wrap_delete_SeedAAHash_destructor_closure */ -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_VILM_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_WFY__RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CountingBloomFilter8" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_WFY__LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_H____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_CountingBloomFilter8(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_H____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter8")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter8", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_CountingBloomFilter8__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 1) { + int retval = _wrap_new_CountingBloomFilter8__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_CountingBloomFilter8__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { + int retval = _wrap_new_CountingBloomFilter8__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_P____RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CountingBloomFilter8'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter()\n" + " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter(size_t,unsigned int,std::string)\n" + " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter(size_t,unsigned int)\n" + " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_P____LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED______RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED______LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_insert__SWIG_0(self, argc, argv); + } +check_1: - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_3_AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::insert(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN int Swig_var_LEVEL_X_AA_SEED_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_X_AA_SEED_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_X_AA_SEED_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_X_AA_SEED_TABLE), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int Swig_var_LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_remove", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_remove__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_remove__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_X_AA_SEED_RIGHT_33BITS_ROLL_TABLE), SWIGTYPE_p_p_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *Swig_var_LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::LEVEL_X_AA_SEED_LEFT_31BITS_ROLL_TABLE), SWIGTYPE_p_p_p_unsigned_long_long, 0 ); - return pyobj; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_clear", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_clear__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_clear__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_aahash_base__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - uint64_t result; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aahash_base" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_base" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aahash_base" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (uint64_t)btllib::aahash_base((char const *)arg1,arg2,arg3); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned char)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_aahash_base__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - uint64_t result; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aahash_base" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_base" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::aahash_base((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (unsigned char)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_aahash_base(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "aahash_base", 0, 3, argv))) SWIG_fail; - --argc; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; if (argc == 2) { - PyObject *retobj = _wrap_aahash_base__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_contains__SWIG_0(self, argc, argv); } - if (argc == 3) { - PyObject *retobj = _wrap_aahash_base__SWIG_0(self, argc, argv); +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'aahash_base'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::aahash_base(char const *,unsigned int,unsigned int)\n" - " btllib::aahash_base(char const *,unsigned int)\n"); + " btllib::CountingBloomFilter< uint8_t >::contains(uint64_t const *) const\n" + " btllib::CountingBloomFilter< uint8_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_aahash_roll__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - unsigned int arg5 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - uint64_t result; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aahash_roll" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_roll" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aahash_roll" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "aahash_roll" "', argument " "4"" of type '" "unsigned char""'"); - } - arg4 = static_cast< unsigned char >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "aahash_roll" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (uint64_t)btllib::aahash_roll(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned char)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_aahash_roll__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aahash_roll" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "aahash_roll" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "aahash_roll" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "aahash_roll" "', argument " "4"" of type '" "unsigned char""'"); - } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::aahash_roll(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned char result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (unsigned char)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_aahash_roll(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[6] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "aahash_roll", 0, 5, argv))) SWIG_fail; - --argc; - if (argc == 4) { - PyObject *retobj = _wrap_aahash_roll__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_contains_insert__SWIG_0(self, argc, argv); } - if (argc == 5) { - PyObject *retobj = _wrap_aahash_roll__SWIG_0(self, argc, argv); +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_contains_insert__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'aahash_roll'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::aahash_roll(uint64_t,unsigned int,unsigned char,unsigned char,unsigned int)\n" - " btllib::aahash_roll(uint64_t,unsigned int,unsigned char,unsigned char)\n"); + " btllib::CountingBloomFilter< uint8_t >::contains_insert(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_aa_modify_base_with_seed(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - btllib::SpacedSeed *arg2 = 0 ; - char *arg3 = (char *) 0 ; - unsigned int arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - int res2 = SWIG_OLDOBJ ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - PyObject *swig_obj[4] ; - uint64_t result; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned char result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "aa_modify_base_with_seed", 4, 4, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "aa_modify_base_with_seed" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - { - std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "aa_modify_base_with_seed" "', argument " "2"" of type '" "btllib::SpacedSeed const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "aa_modify_base_with_seed" "', argument " "2"" of type '" "btllib::SpacedSeed const &""'"); - } - arg2 = ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } - res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "aa_modify_base_with_seed" "', argument " "3"" of type '" "char const *""'"); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg3 = reinterpret_cast< char * >(buf3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "aa_modify_base_with_seed" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (uint64_t)btllib::aa_modify_base_with_seed(arg1,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(char const *)arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned char)(arg1)->insert_contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } -SWIGINTERN PyObject *_wrap_aa_parse_seeds(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned char result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "aa_parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "aa_parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = btllib::aa_parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + result = (unsigned char)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN int _wrap_new_AAHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string_view arg1 ; - uint8_t arg2 ; - uint16_t arg3 ; - unsigned int arg4 ; - size_t arg5 ; - void *argp1 ; - int res1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::AAHash *result = 0 ; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string_view, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); - } else { - std::string_view * temp = reinterpret_cast< std::string_view * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_insert_contains__SWIG_0(self, argc, argv); } - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "uint8_t""'"); - } - arg2 = static_cast< uint8_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "uint16_t""'"); - } - arg3 = static_cast< uint16_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AAHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::AAHash *)new btllib::AAHash(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_insert_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_insert_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::insert_contains(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN int _wrap_new_AAHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string_view arg1 ; - uint8_t arg2 ; - uint16_t arg3 ; - unsigned int arg4 ; - void *argp1 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + unsigned char arg3 ; + void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned short val3 ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned char val3 ; int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::AAHash *result = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string_view, 0 | 0); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string_view""'"); - } else { - std::string_view * temp = reinterpret_cast< std::string_view * >(argp1); - arg1 = *temp; - if (SWIG_IsNewObj(res1)) delete temp; - } + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "uint8_t""'"); - } - arg2 = static_cast< uint8_t >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "uint16_t""'"); - } - arg3 = static_cast< uint16_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::AAHash *)new btllib::AAHash(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_AAHash_roll(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + int res2 = SWIG_OLDOBJ ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_roll", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_roll" "', argument " "1"" of type '" "btllib::AAHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (bool)(arg1)->roll(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_AAHash_hashes(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t *result = 0 ; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_hashes" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 3) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + PyObject *retobj = _wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (uint64_t *)((btllib::AAHash const *)arg1)->hashes(); +check_1: - resultobj = PyTuple_New(arg1->get_hash_num()); - for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { - PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + if (argc == 3) { + PyObject *retobj = _wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - return resultobj; fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_insert_thresh_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::insert_thresh_contains(uint64_t const *,unsigned char)\n" + " btllib::CountingBloomFilter< uint8_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_AAHash_get_pos(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_pos" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = ((btllib::AAHash const *)arg1)->get_pos(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AAHash_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_hash_num" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (unsigned int)((btllib::AAHash const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_AAHash_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 3) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + PyObject *retobj = _wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_1: - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_k" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + if (argc == 3) { + PyObject *retobj = _wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (unsigned int)((btllib::AAHash const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_contains_insert_thresh'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::contains_insert_thresh(uint64_t const *,unsigned char)\n" + " btllib::CountingBloomFilter< uint8_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_AAHash_get_forward_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_forward_hash" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_bytes" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (uint64_t)((btllib::AAHash const *)arg1)->get_forward_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = ((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AAHash_get_level(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + unsigned char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + unsigned char val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_get_level", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_level" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (unsigned int)((btllib::AAHash const *)arg1)->get_level(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter8_get_pop_cnt" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + result = (uint64_t)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_AAHash_get_seq(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - char *result = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "AAHash_get_seq", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "AAHash_get_seq" "', argument " "1"" of type '" "btllib::AAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - result = (char *)((btllib::AAHash const *)arg1)->get_seq(); - resultobj = SWIG_FromCharPtr((const char *)result); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = (uint64_t)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN int _wrap_new_AAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::AAHash *result = 0 ; - - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AAHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(SWIG_STD_MOVE(arg1),arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_AAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::AAHash *result = 0 ; - - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_AAHash" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_AAHash" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_AAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(SWIG_STD_MOVE(arg1),arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_AAHash(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[6] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_AAHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_AAHash", 0, 5, argv))) SWIG_fail; - --argc; - if (argc == 4) { - int _v = 0; - { - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__string_view, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_1; - { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_1; - int retval = _wrap_new_AAHash__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_1: - - if (argc == 4) { - int retval = _wrap_new_AAHash__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int _v = 0; - { - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_std__string_view, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_3; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_3; - { - { - int res = SWIG_AsVal_unsigned_SS_short(argv[2], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_3; - int retval = _wrap_new_AAHash__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } -check_3: - - if (argc == 5) { - int retval = _wrap_new_AAHash__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_AAHash'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_get_pop_cnt'.\n" " Possible C/C++ prototypes are:\n" - " btllib::AAHash::AAHash(std::string_view,uint8_t,uint16_t,unsigned int,size_t)\n" - " btllib::AAHash::AAHash(std::string_view,uint8_t,uint16_t,unsigned int)\n" - " btllib::AAHash::AAHash(std::string,unsigned int,unsigned int,unsigned int,size_t)\n" - " btllib::AAHash::AAHash(std::string,unsigned int,unsigned int,unsigned int)\n"); - return -1; + " btllib::CountingBloomFilter< uint8_t >::get_pop_cnt(unsigned char) const\n" + " btllib::CountingBloomFilter< uint8_t >::get_pop_cnt() const\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_AAHash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + unsigned char arg2 ; void *argp1 = 0 ; int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_AAHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_AAHash" "', argument " "1"" of type '" "btllib::AAHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::AAHash * >(argp1); - delete_btllib_AAHash(arg1); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter8_get_occupancy" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_AAHash) /* defines _wrap_delete_AAHash_destructor_closure */ - -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::SeedAAHash *result = 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + double result; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedAAHash *result = 0 ; +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter8_get_occupancy__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< char * >(buf1); - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_get_occupancy__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_get_occupancy'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::get_occupancy(unsigned char) const\n" + " btllib::CountingBloomFilter< uint8_t >::get_occupancy() const\n"); + return 0; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::SeedAAHash *result = 0 ; - - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_hash_num" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = (unsigned int)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedAAHash *result = 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + unsigned char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + double result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter8_get_fpr" "', argument " "2"" of type '" "unsigned char""'"); } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &)*arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + arg2 = static_cast< unsigned char >(val2); + result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_fpr(arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::SeedAAHash *result = 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + double result; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter8_get_fpr__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_get_fpr__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_get_fpr'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::get_fpr(unsigned char) const\n" + " btllib::CountingBloomFilter< uint8_t >::get_fpr() const\n"); + return 0; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedAAHash *result = 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_hash_fn" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((char const *)arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = (std::string *) &((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - int res1 = SWIG_OLDOBJ ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::SeedAAHash *result = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_save" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedAAHash" "', argument " "5"" of type '" "size_t""'"); - } - arg5 = static_cast< size_t >(val5); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = 0 ; - unsigned int arg3 ; - unsigned int arg4 ; int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedAAHash *result = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedAAHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedAAHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((std::string const &)*arg1,(std::vector< std::string,std::allocator< std::string > > const &)*arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + result = (bool)btllib::CountingBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj == Py_None ? -1 : 0; + return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter8(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = 0 ; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::SeedAAHash *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, 0 | 0); + if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter8", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CountingBloomFilter8" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((btllib::SeedAAHash const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_CountingBloomFilter8) /* defines _wrap_delete_CountingBloomFilter8_destructor_closure */ + +SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_SeedAAHash__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::unique_ptr< btllib::SeedAAHash > rvrdeleter1 ; - btllib::SeedAAHash *result = 0 ; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::CountingBloomFilter< uint16_t > *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_RELEASE | 0 ); - if (!SWIG_IsOK(res1)) { - if (res1 == SWIG_ERROR_RELEASE_NOT_OWNED) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', cannot release ownership as memory is not owned for argument " "1"" of type '" "btllib::SeedAAHash &&""'"); - } else { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CountingBloomFilter16" "', argument " "3"" of type '" "std::string""'"); } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); - } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - rvrdeleter1.reset(arg1); - result = (btllib::SeedAAHash *)new btllib::SeedAAHash((btllib::SeedAAHash &&)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_SeedAAHash(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedAAHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedAAHash", 0, 5, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v = 0; - { - int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_new_SeedAAHash__SWIG_8(self, argc, argv); - } -check_1: +SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::CountingBloomFilter< uint16_t > *result = 0 ; - if (argc == 1) { - int retval = _wrap_new_SeedAAHash__SWIG_9(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_3; - { - int res = swig::asptr(argv[1], (std::vector< std::string,std::allocator< std::string > >**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_3; - int retval = _wrap_new_SeedAAHash__SWIG_7(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_3: + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::CountingBloomFilter< uint16_t > *result = 0 ; - if (argc == 4) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_4; - { - int res = swig::asptr(argv[1], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); - _v = SWIG_CheckState(res); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_4; - int retval = _wrap_new_SeedAAHash__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_4: - - if (argc == 4) { - int _v = 0; - { - int res = swig::asptr(argv[1], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); - _v = SWIG_CheckState(res); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_5; - int retval = _wrap_new_SeedAAHash__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + arg1 = ptr; } -check_5: + result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; +} + + +SWIGINTERN int _wrap_new_CountingBloomFilter16(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - if (argc == 4) { - int retval = _wrap_new_SeedAAHash__SWIG_5(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_7; - { - int res = swig::asptr(argv[1], (std::vector< std::string,std::allocator< std::string > >**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_7; - int retval = _wrap_new_SeedAAHash__SWIG_6(self, argc, argv); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter16")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter16", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_CountingBloomFilter16__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } -check_7: - - if (argc == 5) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_8; - { - int res = swig::asptr(argv[1], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_8; - int retval = _wrap_new_SeedAAHash__SWIG_2(self, argc, argv); + if (argc == 1) { + int retval = _wrap_new_CountingBloomFilter16__SWIG_3(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } -check_8: - - if (argc == 5) { - int _v = 0; - { - int res = swig::asptr(argv[1], (std::vector< std::string,std::allocator< std::string > >**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_9; - int retval = _wrap_new_SeedAAHash__SWIG_4(self, argc, argv); + if (argc == 2) { + int retval = _wrap_new_CountingBloomFilter16__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } -check_9: - - if (argc == 5) { - int retval = _wrap_new_SeedAAHash__SWIG_0(self, argc, argv); + if (argc == 3) { + int retval = _wrap_new_CountingBloomFilter16__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedAAHash'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CountingBloomFilter16'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" - " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n" - " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" - " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n" - " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int,size_t)\n" - " btllib::SeedAAHash::SeedAAHash(char const *,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int)\n" - " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int,size_t)\n" - " btllib::SeedAAHash::SeedAAHash(std::string const &,std::vector< std::string,std::allocator< std::string > > const &,unsigned int,unsigned int)\n" - " btllib::SeedAAHash::SeedAAHash(btllib::SeedAAHash const &)\n" - " btllib::SeedAAHash::SeedAAHash(btllib::SeedAAHash &&)\n"); + " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter()\n" + " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter(size_t,unsigned int,std::string)\n" + " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter(size_t,unsigned int)\n" + " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_SeedAAHash_roll(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_roll", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_roll" "', argument " "1"" of type '" "btllib::SeedAAHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = (bool)(arg1)->roll(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedAAHash_hashes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t *result = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_hashes" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = (uint64_t *)((btllib::SeedAAHash const *)arg1)->hashes(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedAAHash_get_pos(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_pos" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter16_insert__SWIG_0(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = ((btllib::SeedAAHash const *)arg1)->get_pos(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::insert(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeedAAHash_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_hash_num" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = (unsigned int)((btllib::SeedAAHash const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedAAHash_get_hash_num_per_seed(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = (unsigned int)((btllib::SeedAAHash const *)arg1)->get_hash_num_per_seed(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedAAHash_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedAAHash_get_k" "', argument " "1"" of type '" "btllib::SeedAAHash const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_remove", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter16_remove__SWIG_0(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - result = (unsigned int)((btllib::SeedAAHash const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_remove__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_SeedAAHash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeedAAHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -44476,220 +42938,233 @@ SWIGINTERN PyObject *_wrap_delete_SeedAAHash(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedAAHash) /* defines _wrap_delete_SeedAAHash_destructor_closure */ - -SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *result = 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::string arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::CountingBloomFilter< uint8_t > *result = 0 ; +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CountingBloomFilter8" "', argument " "3"" of type '" "std::string""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_clear", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_1; + return _wrap_CountingBloomFilter16_clear__SWIG_0(self, argc, argv); } - result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_clear__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::CountingBloomFilter< uint8_t > *result = 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned short)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::CountingBloomFilter< uint8_t > *result = 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned short result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + result = (unsigned short)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter8(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter8")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter8", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_CountingBloomFilter8__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_CountingBloomFilter8__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; if (argc == 2) { - int retval = _wrap_new_CountingBloomFilter8__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter16_contains__SWIG_0(self, argc, argv); } - if (argc == 3) { - int retval = _wrap_new_CountingBloomFilter8__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CountingBloomFilter8'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter()\n" - " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter(size_t,unsigned int,std::string)\n" - " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter(size_t,unsigned int)\n" - " btllib::CountingBloomFilter< uint8_t >::CountingBloomFilter(std::string const &)\n"); - return -1; + " btllib::CountingBloomFilter< uint16_t >::contains(uint64_t const *) const\n" + " btllib::CountingBloomFilter< uint16_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned short)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned short)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -44698,14 +43173,13 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_1(PyObject *self, P } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -44715,82 +43189,82 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_insert__SWIG_0(self, argc, argv); + return _wrap_CountingBloomFilter16_contains_insert__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_insert__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter16_contains_insert__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::insert(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint16_t >::contains_insert(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned short)(arg1)->insert_contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned short)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -44799,14 +43273,13 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_1(PyObject *self, P } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_remove", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -44816,82 +43289,98 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_remove__SWIG_0(self, argc, argv); + return _wrap_CountingBloomFilter16_insert_contains__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_remove__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter16_insert_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_remove'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_insert_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint16_t >::insert_contains(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned short val3 ; + int ecode3 = 0 ; + unsigned short result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); + } + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned short val3 ; + int ecode3 = 0 ; + unsigned short result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); + } + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -44900,16 +43389,15 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_1(PyObject *self, Py } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_clear", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { + if (argc == 3) { int _v = 0; { void *vptr = 0; @@ -44917,290 +43405,474 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear(PyObject *self, PyObject * _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_clear__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_clear__SWIG_1(self, argc, argv); + if (argc == 3) { + PyObject *retobj = _wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_clear'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_insert_thresh_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint16_t >::insert_thresh_contains(uint64_t const *,unsigned short)\n" + " btllib::CountingBloomFilter< uint16_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char result; + unsigned short val3 ; + int ecode3 = 0 ; + unsigned short result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); + } + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned short arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned short val3 ; + int ecode3 = 0 ; + unsigned short result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); + } + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 3) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + PyObject *retobj = _wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_1: + + if (argc == 3) { + PyObject *retobj = _wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_contains_insert_thresh'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::contains_insert_thresh(uint64_t const *,unsigned short)\n" + " btllib::CountingBloomFilter< uint16_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_bytes(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_bytes" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + result = ((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + unsigned short arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned short val2 ; + int ecode2 = 0 ; + uint64_t result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter16_get_pop_cnt" "', argument " "2"" of type '" "unsigned short""'"); + } + arg2 = static_cast< unsigned short >(val2); + result = (uint64_t)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + uint64_t result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + result = (uint64_t)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_get_pop_cnt'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::get_pop_cnt(unsigned short) const\n" + " btllib::CountingBloomFilter< uint16_t >::get_pop_cnt() const\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + unsigned short arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned short val2 ; + int ecode2 = 0 ; + double result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned char)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter16_get_occupancy" "', argument " "2"" of type '" "unsigned short""'"); + } + arg2 = static_cast< unsigned short >(val2); + result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned char result; + double result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); } - result = (unsigned char)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_contains__SWIG_0(self, argc, argv); + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter16_get_occupancy__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_contains__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter16_get_occupancy__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_get_occupancy'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::contains(uint64_t const *) const\n" - " btllib::CountingBloomFilter< uint8_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::CountingBloomFilter< uint16_t >::get_occupancy(unsigned short) const\n" + " btllib::CountingBloomFilter< uint16_t >::get_occupancy() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned char result; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_hash_num" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned char)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + result = (unsigned int)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + unsigned short arg2 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned char result; + unsigned short val2 ; + int ecode2 = 0 ; + double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter16_get_fpr" "', argument " "2"" of type '" "unsigned short""'"); + } + arg2 = static_cast< unsigned short >(val2); + result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_fpr(arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + double result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); } - result = (unsigned char)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_contains_insert__SWIG_0(self, argc, argv); + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter16_get_fpr__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_contains_insert__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter16_get_fpr__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_get_fpr'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::contains_insert(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint16_t >::get_fpr(unsigned short) const\n" + " btllib::CountingBloomFilter< uint16_t >::get_fpr() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned char result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_hash_fn" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned char)(arg1)->insert_contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + result = (std::string *) &((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char result; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_save" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned char)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -45209,238 +43881,264 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_1(PyObject } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_is_bloom_file(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_contains", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_insert_contains__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_insert_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - + result = (bool)btllib::CountingBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_insert_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::insert_contains(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter16(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned char arg3 ; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter16", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CountingBloomFilter16" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_CountingBloomFilter16) /* defines _wrap_delete_CountingBloomFilter16_destructor_closure */ + +SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned char arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char result; + btllib::CountingBloomFilter< uint32_t > *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::CountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CountingBloomFilter32" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::CountingBloomFilter< uint32_t > *result = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::CountingBloomFilter< uint32_t > *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); } - arg2 = ptr; + arg1 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_CountingBloomFilter32(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter32")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter32", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_CountingBloomFilter32__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 1) { + int retval = _wrap_new_CountingBloomFilter32__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_CountingBloomFilter32__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } -check_1: - if (argc == 3) { - PyObject *retobj = _wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + int retval = _wrap_new_CountingBloomFilter32__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_insert_thresh_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CountingBloomFilter32'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::insert_thresh_contains(uint64_t const *,unsigned char)\n" - " btllib::CountingBloomFilter< uint8_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); - return 0; + " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter()\n" + " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter(size_t,unsigned int,std::string)\n" + " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter(size_t,unsigned int)\n" + " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -45449,16 +44147,15 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(P } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 3) { + if (argc == 2) { int _v = 0; { void *vptr = 0; @@ -45466,226 +44163,243 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh(PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + return _wrap_CountingBloomFilter32_insert__SWIG_0(self, argc, argv); } check_1: - if (argc == 3) { - PyObject *retobj = _wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(self, argc, argv); + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter32_insert__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_contains_insert_thresh'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::contains_insert_thresh(uint64_t const *,unsigned char)\n" - " btllib::CountingBloomFilter< uint8_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); + " btllib::CountingBloomFilter< uint32_t >::insert(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_bytes" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - result = ((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - unsigned char arg2 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - uint64_t result; + int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter8_get_pop_cnt" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - result = (uint64_t)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - result = (uint64_t)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_remove", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_remove__SWIG_0(self, argc, argv); } +check_1: + if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_remove__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_get_pop_cnt'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_remove'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::get_pop_cnt(unsigned char) const\n" - " btllib::CountingBloomFilter< uint8_t >::get_pop_cnt() const\n"); + " btllib::CountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - unsigned char arg2 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - double result; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter8_get_occupancy" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter8_get_occupancy__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_clear__SWIG_0(self, argc, argv); } +check_1: + if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_get_occupancy__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_clear__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_get_occupancy'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_clear'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::get_occupancy(unsigned char) const\n" - " btllib::CountingBloomFilter< uint8_t >::get_occupancy() const\n"); + " btllib::CountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_hash_num" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - result = (unsigned int)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned int)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->contains((uint64_t const *)arg2); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -45693,413 +44407,350 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_num(PyObject *self, PyO } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - unsigned char arg2 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - double result; + int res2 = SWIG_OLDOBJ ; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter8_get_fpr" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_fpr(arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double result; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - result = (double)((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_fpr(); - resultobj = SWIG_From_double(static_cast< double >(result)); + result = (unsigned int)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter8_get_fpr__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_contains__SWIG_0(self, argc, argv); } +check_1: + if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_get_fpr__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_get_fpr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::get_fpr(unsigned char) const\n" - " btllib::CountingBloomFilter< uint8_t >::get_fpr() const\n"); + " btllib::CountingBloomFilter< uint32_t >::contains(uint64_t const *) const\n" + " btllib::CountingBloomFilter< uint32_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_fn(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_get_hash_fn" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - result = (std::string *) &((btllib::CountingBloomFilter< uint8_t > const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::string *arg2 = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned int result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_save" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->save((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_is_bloom_file(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - bool result; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - result = (bool)btllib::CountingBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter8(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter8", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CountingBloomFilter8" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned int)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_CountingBloomFilter8) /* defines _wrap_delete_CountingBloomFilter8_destructor_closure */ - -SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *result = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int result; - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (unsigned int)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::string arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::CountingBloomFilter< uint16_t > *result = 0 ; +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CountingBloomFilter16" "', argument " "3"" of type '" "std::string""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_contains_insert__SWIG_0(self, argc, argv); } - result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter32_contains_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_contains_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint32_t >::contains_insert(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::CountingBloomFilter< uint16_t > *result = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned int)(arg1)->insert_contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::CountingBloomFilter< uint16_t > *result = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + result = (unsigned int)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter16(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter16")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter16", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_CountingBloomFilter16__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_CountingBloomFilter16__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; if (argc == 2) { - int retval = _wrap_new_CountingBloomFilter16__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_insert_contains__SWIG_0(self, argc, argv); } - if (argc == 3) { - int retval = _wrap_new_CountingBloomFilter16__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter32_insert_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CountingBloomFilter16'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_insert_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter()\n" - " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter(size_t,unsigned int,std::string)\n" - " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter(size_t,unsigned int)\n" - " btllib::CountingBloomFilter< uint16_t >::CountingBloomFilter(std::string const &)\n"); - return -1; + " btllib::CountingBloomFilter< uint32_t >::insert_contains(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -46108,16 +44759,15 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_1(PyObject *self, } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { + if (argc == 3) { int _v = 0; { void *vptr = 0; @@ -46125,82 +44775,100 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_insert__SWIG_1(self, argc, argv); + if (argc == 3) { + PyObject *retobj = _wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_insert_thresh_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::insert(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint32_t >::insert_thresh_contains(uint64_t const *,unsigned int)\n" + " btllib::CountingBloomFilter< uint32_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -46209,16 +44877,15 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_1(PyObject *self, } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_remove", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { + if (argc == 3) { int _v = 0; { void *vptr = 0; @@ -46226,288 +44893,356 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_remove__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_remove__SWIG_1(self, argc, argv); + if (argc == 3) { + PyObject *retobj = _wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_remove'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_contains_insert_thresh'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint32_t >::contains_insert_thresh(uint64_t const *,unsigned int)\n" + " btllib::CountingBloomFilter< uint32_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_bytes" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + result = ((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter32_get_pop_cnt" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + uint64_t result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + result = (uint64_t)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_get_pop_cnt'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint32_t >::get_pop_cnt(unsigned int) const\n" + " btllib::CountingBloomFilter< uint32_t >::get_pop_cnt() const\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + unsigned int arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + double result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter32_get_occupancy" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + double result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_clear", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_clear__SWIG_0(self, argc, argv); + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter32_get_occupancy__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_clear__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_get_occupancy__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_clear'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_get_occupancy'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::CountingBloomFilter< uint32_t >::get_occupancy(unsigned int) const\n" + " btllib::CountingBloomFilter< uint32_t >::get_occupancy() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short result; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned short)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned short result; + unsigned int val2 ; + int ecode2 = 0 ; + double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter32_get_fpr" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_fpr(arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + double result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - result = (unsigned short)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_contains__SWIG_0(self, argc, argv); + if (argc == 1) { + PyObject *retobj = _wrap_CountingBloomFilter32_get_fpr__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_contains__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_CountingBloomFilter32_get_fpr__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_get_fpr'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::contains(uint64_t const *) const\n" - " btllib::CountingBloomFilter< uint16_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::CountingBloomFilter< uint32_t >::get_fpr(unsigned int) const\n" + " btllib::CountingBloomFilter< uint32_t >::get_fpr() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned short)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + result = (std::string *) &((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short result; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_save" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned short)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -46516,220 +45251,238 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_1(PyObjec } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_is_bloom_file(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_contains_insert__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_contains_insert__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - + result = (bool)btllib::CountingBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::contains_insert(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter32(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter32", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CountingBloomFilter32" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned short)(arg1)->insert_contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_CountingBloomFilter32) /* defines _wrap_delete_CountingBloomFilter32_destructor_closure */ + +SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned short result; + btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerCountingBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerCountingBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerCountingBloomFilter8" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerCountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerCountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); } - arg2 = ptr; + arg1 = ptr; } - result = (unsigned short)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter8(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_contains", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_insert_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter8")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter8", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_KmerCountingBloomFilter8__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_insert_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 1) { + int retval = _wrap_new_KmerCountingBloomFilter8__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { + int retval = _wrap_new_KmerCountingBloomFilter8__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_insert_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerCountingBloomFilter8'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::insert_contains(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + " btllib::KmerCountingBloomFilter< uint8_t >::KmerCountingBloomFilter()\n" + " btllib::KmerCountingBloomFilter< uint8_t >::KmerCountingBloomFilter(size_t,unsigned int,unsigned int)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::KmerCountingBloomFilter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned short arg3 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short val3 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; int ecode3 = 0 ; - unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "3"" of type '" "size_t""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< size_t >(val3); + (arg1)->insert((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned short arg3 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + (arg1)->insert((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -46738,119 +45491,61 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1( } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_1: - - if (argc == 3) { - PyObject *retobj = _wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_insert_thresh_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::insert_thresh_contains(uint64_t const *,unsigned short)\n" - " btllib::CountingBloomFilter< uint16_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short val3 ; - int ecode3 = 0 ; - unsigned short result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); - } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -46859,16 +45554,15 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1( } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 3) { + if (argc == 2) { int _v = 0; { void *vptr = 0; @@ -46876,365 +45570,298 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh(PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + return _wrap_KmerCountingBloomFilter8_insert__SWIG_2(self, argc, argv); } check_1: + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } if (argc == 3) { - PyObject *retobj = _wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_contains_insert_thresh'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::contains_insert_thresh(uint64_t const *,unsigned short)\n" - " btllib::CountingBloomFilter< uint16_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::insert(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_bytes" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - result = ((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter16_get_pop_cnt" "', argument " "2"" of type '" "unsigned short""'"); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "3"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned short >(val2); - result = (uint64_t)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg3 = static_cast< size_t >(val3); + (arg1)->remove((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - result = (uint64_t)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_get_pop_cnt'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::get_pop_cnt(unsigned short) const\n" - " btllib::CountingBloomFilter< uint16_t >::get_pop_cnt() const\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - unsigned short arg2 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - double result; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter16_get_occupancy" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + int res2 = SWIG_OLDOBJ ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_remove", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter16_get_occupancy__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_get_occupancy__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_get_occupancy'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::get_occupancy(unsigned short) const\n" - " btllib::CountingBloomFilter< uint16_t >::get_occupancy() const\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_num(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_hash_num" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - result = (unsigned int)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - unsigned short arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned short val2 ; - int ecode2 = 0 ; - double result; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter8_remove__SWIG_2(self, argc, argv); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter16_get_fpr" "', argument " "2"" of type '" "unsigned short""'"); - } - arg2 = static_cast< unsigned short >(val2); - result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_fpr(arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - double result; +check_1: - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_remove__SWIG_1(self, argc, argv); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - result = (double)((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_fpr(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +check_2: - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter16_get_fpr__SWIG_1(self, argc, argv); + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_get_fpr__SWIG_0(self, argc, argv); + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_get_fpr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_remove'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::get_fpr(unsigned short) const\n" - " btllib::CountingBloomFilter< uint16_t >::get_fpr() const\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::remove(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_get_hash_fn" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - result = (std::string *) &((btllib::CountingBloomFilter< uint16_t > const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->clear((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_save" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->save((std::string const &)*arg2); + (arg1)->clear((std::string const &)*arg2); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -47244,272 +45871,255 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_save(PyObject *self, PyObject * } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - bool result; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - result = (bool)btllib::CountingBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter16(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter16", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CountingBloomFilter16" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_CountingBloomFilter16) /* defines _wrap_delete_CountingBloomFilter16_destructor_closure */ - -SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *result = 0 ; +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::string arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::CountingBloomFilter< uint32_t > *result = 0 ; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_clear", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter8_clear__SWIG_2(self, argc, argv); + } +check_1: - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_CountingBloomFilter32" "', argument " "3"" of type '" "std::string""'"); + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_clear__SWIG_1(self, argc, argv); } - result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::CountingBloomFilter< uint32_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CountingBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "3"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg3 = static_cast< size_t >(val3); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; fail: - return -1; + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; } -SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::CountingBloomFilter< uint32_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + uint64_t result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; - } - result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; -} - - -SWIGINTERN int _wrap_new_CountingBloomFilter32(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter32")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter32", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_CountingBloomFilter32__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_CountingBloomFilter32__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int retval = _wrap_new_CountingBloomFilter32__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int retval = _wrap_new_CountingBloomFilter32__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + arg2 = ptr; } - + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_CountingBloomFilter32'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter()\n" - " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter(size_t,unsigned int,std::string)\n" - " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter(size_t,unsigned int)\n" - " btllib::CountingBloomFilter< uint32_t >::CountingBloomFilter(std::string const &)\n"); - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned char)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned char)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -47518,14 +46128,13 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_1(PyObject *self, } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -47535,82 +46144,176 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_insert__SWIG_0(self, argc, argv); + return _wrap_KmerCountingBloomFilter8_contains__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_insert__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_contains__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::insert(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::contains(char const *,size_t) const\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains(std::string const &) const\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains(uint64_t const *) const\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned char result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (unsigned char)(arg1)->contains_insert((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned char result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (unsigned char)(arg1)->contains_insert((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned char)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned char)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -47619,14 +46322,13 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_1(PyObject *self, } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_remove", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -47636,82 +46338,111 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_remove__SWIG_0(self, argc, argv); + return _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_remove__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_remove'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (unsigned char)(arg1)->insert_contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); + result = (unsigned char)(arg1)->insert_contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -47720,101 +46451,63 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_1(PyObject *self, P } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_clear", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_clear__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_clear__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned int result; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned int)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = (unsigned char)(arg1)->insert_contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned int)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = (unsigned char)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -47823,14 +46516,13 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_1(PyObject *self } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -47840,84 +46532,127 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains(PyObject *self, PyObje _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_contains__SWIG_0(self, argc, argv); + return _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_contains__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_insert_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::contains(uint64_t const *) const\n" - " btllib::CountingBloomFilter< uint32_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + unsigned char arg4 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int result; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned int)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (unsigned char)(arg1)->insert_thresh_contains((char const *)arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned int)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->insert_thresh_contains((std::string const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -47926,101 +46661,79 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_1(PyObjec } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_contains_insert__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_contains_insert__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::contains_insert(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned int result; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned int)(arg1)->insert_contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned int)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -48029,16 +46742,15 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_1(PyObjec } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { + if (argc == 3) { int _v = 0; { void *vptr = 0; @@ -48046,100 +46758,131 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains(PyObject *self, _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_insert_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } check_1: - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_insert_contains__SWIG_1(self, argc, argv); + if (argc == 3) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_2: + + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 4) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_insert_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_insert_thresh_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::insert_contains(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(char const *,size_t,unsigned char)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(std::string const &,unsigned char const)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(uint64_t const *,unsigned char const)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned int arg3 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + unsigned char arg4 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int val3 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; int ecode3 = 0 ; - unsigned int result; + unsigned char val4 ; + int ecode4 = 0 ; + unsigned char result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "size_t""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (unsigned char)(arg1)->contains_insert_thresh((char const *)arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int arg3 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; + unsigned char val3 ; int ecode3 = 0 ; - unsigned int result; + unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->contains_insert_thresh((std::string const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -48148,119 +46891,79 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1( } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_1: - - if (argc == 3) { - PyObject *retobj = _wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_insert_thresh_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::insert_thresh_contains(uint64_t const *,unsigned int)\n" - " btllib::CountingBloomFilter< uint32_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned int arg3 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned int val3 ; + unsigned char val3 ; int ecode3 = 0 ; - unsigned int result; + unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int arg3 ; + unsigned char arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; + unsigned char val3 ; int ecode3 = 0 ; - unsigned int result; + unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg3 = static_cast< unsigned char >(val3); + result = (unsigned char)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -48269,14 +46972,13 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1( } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -48286,42 +46988,62 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh(PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_2(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_1: if (argc == 3) { - PyObject *retobj = _wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_2: + + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 4) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_contains_insert_thresh'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_contains_insert_thresh'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::contains_insert_thresh(uint64_t const *,unsigned int)\n" - " btllib::CountingBloomFilter< uint32_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(char const *,size_t,unsigned char)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(std::string const &,unsigned char const)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(uint64_t const *,unsigned char const)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_bytes" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_bytes" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - result = ((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = ((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -48329,29 +47051,28 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_bytes(PyObject *self, PyObj } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - unsigned int arg2 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + unsigned char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; + unsigned char val2 ; int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter32_get_pop_cnt" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter8_get_pop_cnt" "', argument " "2"" of type '" "unsigned char""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(arg2); + arg2 = static_cast< unsigned char >(val2); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(arg2); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -48359,21 +47080,20 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *s } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - result = (uint64_t)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -48381,58 +47101,56 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *s } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_get_pop_cnt'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_get_pop_cnt'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::get_pop_cnt(unsigned int) const\n" - " btllib::CountingBloomFilter< uint32_t >::get_pop_cnt() const\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::get_pop_cnt(unsigned char) const\n" + " btllib::KmerCountingBloomFilter< uint8_t >::get_pop_cnt() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - unsigned int arg2 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + unsigned char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; + unsigned char val2 ; int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter32_get_occupancy" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter8_get_occupancy" "', argument " "2"" of type '" "unsigned char""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(arg2); + arg2 = static_cast< unsigned char >(val2); + result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -48440,21 +47158,20 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_0(PyObject } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -48462,50 +47179,49 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_1(PyObject } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter32_get_occupancy__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_get_occupancy__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_get_occupancy'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_get_occupancy'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::get_occupancy(unsigned int) const\n" - " btllib::CountingBloomFilter< uint32_t >::get_occupancy() const\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::get_occupancy(unsigned char) const\n" + " btllib::KmerCountingBloomFilter< uint8_t >::get_occupancy() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_hash_num" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -48513,29 +47229,28 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_num(PyObject *self, Py } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - unsigned int arg2 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + unsigned char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; + unsigned char val2 ; int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CountingBloomFilter32_get_fpr" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter8_get_fpr" "', argument " "2"" of type '" "unsigned char""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_fpr(arg2); + arg2 = static_cast< unsigned char >(val2); + result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_fpr(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -48543,21 +47258,20 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - result = (double)((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -48565,50 +47279,71 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_CountingBloomFilter32_get_fpr__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_get_fpr__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_get_fpr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_get_fpr'.\n" " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::get_fpr(unsigned int) const\n" - " btllib::CountingBloomFilter< uint32_t >::get_fpr() const\n"); + " btllib::KmerCountingBloomFilter< uint8_t >::get_fpr(unsigned char) const\n" + " btllib::KmerCountingBloomFilter< uint8_t >::get_fpr() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_k" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - result = (std::string *) &((btllib::CountingBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (std::string *) &((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -48616,31 +47351,52 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_fn(PyObject *self, PyO } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_counting_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::CountingBloomFilter< unsigned char > *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_counting_bloom_filter" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + result = (btllib::CountingBloomFilter< unsigned char > *) &(arg1)->get_counting_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_save(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_save" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_save" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -48654,28 +47410,27 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_save(PyObject *self, PyObject * } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::CountingBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); + result = (bool)btllib::KmerCountingBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -48685,19 +47440,19 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_is_bloom_file(PyObject *self, P } -SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter32(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter8(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter32", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter8", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CountingBloomFilter32" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerCountingBloomFilter8" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -48706,23 +47461,22 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter32(PyObject *self, PyObject } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_CountingBloomFilter32) /* defines _wrap_delete_CountingBloomFilter32_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter8) /* defines _wrap_delete_KmerCountingBloomFilter8_destructor_closure */ -SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; @@ -48733,54 +47487,52 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_1(PyObject *self, Py_ssi int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; - btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerCountingBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerCountingBloomFilter16" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerCountingBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerCountingBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerCountingBloomFilter8" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerCountingBloomFilter16" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerCountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerCountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerCountingBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerCountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -48789,45 +47541,44 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_2(PyObject *self, Py_ssi } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter8(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter16(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter8")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter8", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter16")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_KmerCountingBloomFilter8__SWIG_0(self, argc, argv); + int retval = _wrap_new_KmerCountingBloomFilter16__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_KmerCountingBloomFilter8__SWIG_2(self, argc, argv); + int retval = _wrap_new_KmerCountingBloomFilter16__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 3) { - int retval = _wrap_new_KmerCountingBloomFilter8__SWIG_1(self, argc, argv); + int retval = _wrap_new_KmerCountingBloomFilter16__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerCountingBloomFilter8'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerCountingBloomFilter16'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::KmerCountingBloomFilter()\n" - " btllib::KmerCountingBloomFilter< uint8_t >::KmerCountingBloomFilter(size_t,unsigned int,unsigned int)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::KmerCountingBloomFilter(std::string const &)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::KmerCountingBloomFilter()\n" + " btllib::KmerCountingBloomFilter< uint16_t >::KmerCountingBloomFilter(size_t,unsigned int,unsigned int)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::KmerCountingBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -48838,21 +47589,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->insert((char const *)arg2,arg3); @@ -48865,29 +47615,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -48901,25 +47650,24 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->insert((uint64_t const *)arg2); @@ -48930,29 +47678,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_2(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -48966,14 +47713,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -48983,7 +47729,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_insert__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_insert__SWIG_2(self, argc, argv); } check_1: @@ -48994,35 +47740,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_insert__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::insert(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -49033,21 +47779,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->remove((char const *)arg2,arg3); @@ -49060,29 +47805,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -49096,25 +47840,24 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->remove((uint64_t const *)arg2); @@ -49125,29 +47868,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_2(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -49161,14 +47903,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_remove", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_remove", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -49178,7 +47919,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_remove__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_remove__SWIG_2(self, argc, argv); } check_1: @@ -49189,35 +47930,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_remove__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_remove__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_remove'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_remove'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::remove(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -49228,21 +47969,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->clear((char const *)arg2,arg3); @@ -49255,29 +47995,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -49291,25 +48030,24 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_1(PyObject *self } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->clear((uint64_t const *)arg2); @@ -49320,29 +48058,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_2(PyObject *self } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -49356,14 +48093,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_3(PyObject *self } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_clear", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_clear", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -49373,7 +48109,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObje _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_clear__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_clear__SWIG_2(self, argc, argv); } check_1: @@ -49384,35 +48120,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObje _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_clear__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_clear__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_clear'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_clear'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::clear(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -49424,24 +48160,23 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *s int ecode3 = 0 ; uint64_t result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((char const *)arg2,arg3); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((char const *)arg2,arg3); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; @@ -49451,34 +48186,33 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *s } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((std::string const &)*arg2); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((std::string const &)*arg2); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -49488,65 +48222,63 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_1(PyObject *s } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned char)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned char)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -49555,14 +48287,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_3(PyObject *s } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -49572,7 +48303,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyO _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_contains__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_contains__SWIG_2(self, argc, argv); } check_1: @@ -49583,35 +48314,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyO _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_contains__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_contains__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains(char const *,size_t) const\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains(std::string const &) const\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains(uint64_t const *) const\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::contains(char const *,size_t) const\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains(std::string const &) const\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains(uint64_t const *) const\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -49621,27 +48352,26 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyOb int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (unsigned char)(arg1)->contains_insert((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->contains_insert((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -49650,35 +48380,34 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned char)(arg1)->contains_insert((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->contains_insert((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -49687,65 +48416,63 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned char)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned char)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -49754,14 +48481,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -49771,7 +48497,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *se _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(self, argc, argv); } check_1: @@ -49782,35 +48508,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *se _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -49820,27 +48546,26 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyOb int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (unsigned char)(arg1)->insert_contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->insert_contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -49849,35 +48574,34 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned char)(arg1)->insert_contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->insert_contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -49886,65 +48610,63 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned char)(arg1)->insert_contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (unsigned short)(arg1)->insert_contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned char)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + result = (unsigned short)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -49953,14 +48675,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -49970,7 +48691,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *se _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(self, argc, argv); } check_1: @@ -49981,38 +48702,38 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *se _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_insert_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_insert_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; - unsigned char arg4 ; + unsigned short arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; @@ -50020,34 +48741,33 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned char val4 ; + unsigned short val4 ; int ecode4 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + ecode4 = SWIG_AsVal_unsigned_SS_short(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "4"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "4"" of type '" "unsigned short""'"); } - arg4 = static_cast< unsigned char >(val4); - result = (unsigned char)(arg1)->insert_thresh_contains((char const *)arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg4 = static_cast< unsigned short >(val4); + result = (unsigned short)(arg1)->insert_thresh_contains((char const *)arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -50056,43 +48776,42 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; - unsigned char arg3 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char val3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->insert_thresh_contains((std::string const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->insert_thresh_contains((std::string const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -50101,81 +48820,79 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned char arg3 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char val3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned char arg3 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char val3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_insert_thresh_contains" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -50184,14 +48901,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -50201,7 +48917,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_2(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_2(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } @@ -50214,40 +48930,40 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_2: if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 4) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_insert_thresh_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_insert_thresh_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(char const *,size_t,unsigned char)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(std::string const &,unsigned char const)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(uint64_t const *,unsigned char const)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(char const *,size_t,unsigned short)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(std::string const &,unsigned short const)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(uint64_t const *,unsigned short const)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; - unsigned char arg4 ; + unsigned short arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; @@ -50255,34 +48971,33 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned char val4 ; + unsigned short val4 ; int ecode4 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + ecode4 = SWIG_AsVal_unsigned_SS_short(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "4"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "4"" of type '" "unsigned short""'"); } - arg4 = static_cast< unsigned char >(val4); - result = (unsigned char)(arg1)->contains_insert_thresh((char const *)arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg4 = static_cast< unsigned short >(val4); + result = (unsigned short)(arg1)->contains_insert_thresh((char const *)arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -50291,43 +49006,42 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; - unsigned char arg3 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char val3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->contains_insert_thresh((std::string const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->contains_insert_thresh((std::string const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -50336,81 +49050,79 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned char arg3 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char val3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned char arg3 ; + unsigned short arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char val3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned char result; + unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_contains_insert_thresh" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned char >(val3); - result = (unsigned char)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result)); + arg3 = static_cast< unsigned short >(val3); + result = (unsigned short)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -50419,14 +49131,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -50436,7 +49147,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_2(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_2(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } @@ -50449,49 +49160,49 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_2: if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 4) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_contains_insert_thresh'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_contains_insert_thresh'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(char const *,size_t,unsigned char)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(std::string const &,unsigned char const)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(uint64_t const *,unsigned char const)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const)\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(char const *,size_t,unsigned short)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(std::string const &,unsigned short const)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(uint64_t const *,unsigned short const)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_bytes" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_bytes" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = ((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = ((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -50499,29 +49210,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_bytes(PyObject *self, Py } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - unsigned char arg2 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + unsigned short arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; + unsigned short val2 ; int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter8_get_pop_cnt" "', argument " "2"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter16_get_pop_cnt" "', argument " "2"" of type '" "unsigned short""'"); } - arg2 = static_cast< unsigned char >(val2); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(arg2); + arg2 = static_cast< unsigned short >(val2); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(arg2); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -50529,21 +49239,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -50551,58 +49260,56 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_get_pop_cnt'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_get_pop_cnt'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::get_pop_cnt(unsigned char) const\n" - " btllib::KmerCountingBloomFilter< uint8_t >::get_pop_cnt() const\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::get_pop_cnt(unsigned short) const\n" + " btllib::KmerCountingBloomFilter< uint16_t >::get_pop_cnt() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - unsigned char arg2 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + unsigned short arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; + unsigned short val2 ; int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter8_get_occupancy" "', argument " "2"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter16_get_occupancy" "', argument " "2"" of type '" "unsigned short""'"); } - arg2 = static_cast< unsigned char >(val2); - result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(arg2); + arg2 = static_cast< unsigned short >(val2); + result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -50610,21 +49317,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(PyObje } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -50632,50 +49338,49 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(PyObje } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_get_occupancy'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_get_occupancy'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::get_occupancy(unsigned char) const\n" - " btllib::KmerCountingBloomFilter< uint8_t >::get_occupancy() const\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::get_occupancy(unsigned short) const\n" + " btllib::KmerCountingBloomFilter< uint16_t >::get_occupancy() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_hash_num" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_hash_num" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -50683,29 +49388,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_num(PyObject *self, } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - unsigned char arg2 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + unsigned short arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned char val2 ; + unsigned short val2 ; int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter8_get_fpr" "', argument " "2"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter16_get_fpr" "', argument " "2"" of type '" "unsigned short""'"); } - arg2 = static_cast< unsigned char >(val2); - result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_fpr(arg2); + arg2 = static_cast< unsigned short >(val2); + result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_fpr(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -50713,21 +49417,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (double)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -50735,50 +49438,49 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; + + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_get_fpr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_get_fpr'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::get_fpr(unsigned char) const\n" - " btllib::KmerCountingBloomFilter< uint8_t >::get_fpr() const\n"); + " btllib::KmerCountingBloomFilter< uint16_t >::get_fpr(unsigned short) const\n" + " btllib::KmerCountingBloomFilter< uint16_t >::get_fpr() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_k" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_k" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -50786,21 +49488,21 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_k(PyObject *self, PyObje } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (std::string *) &((btllib::KmerCountingBloomFilter< uint8_t > const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (std::string *) &((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -50808,53 +49510,52 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_fn(PyObject *self, } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_counting_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_counting_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::CountingBloomFilter< unsigned char > *result = 0 ; + PyObject *swig_obj[1] ; + btllib::CountingBloomFilter< unsigned short > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_get_counting_bloom_filter" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_counting_bloom_filter" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - result = (btllib::CountingBloomFilter< unsigned char > *) &(arg1)->get_counting_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + result = (btllib::CountingBloomFilter< unsigned short > *) &(arg1)->get_counting_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_save" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_save" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -50868,28 +49569,27 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_save(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::KmerCountingBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); + result = (bool)btllib::KmerCountingBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -50899,19 +49599,19 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_is_bloom_file(PyObject *self } -SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter8(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter16(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter8", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter16", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerCountingBloomFilter8" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerCountingBloomFilter16" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -50920,23 +49620,22 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter8(PyObject *self, PyObj } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter8) /* defines _wrap_delete_KmerCountingBloomFilter8_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter16) /* defines _wrap_delete_KmerCountingBloomFilter16_destructor_closure */ -SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; @@ -50947,54 +49646,52 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; - btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerCountingBloomFilter16" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerCountingBloomFilter32" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerCountingBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerCountingBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerCountingBloomFilter16" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerCountingBloomFilter32" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerCountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerCountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerCountingBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerCountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -51003,45 +49700,44 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_2(PyObject *self, Py_ss } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter16(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_KmerCountingBloomFilter32(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter16")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter16", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter32")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_KmerCountingBloomFilter16__SWIG_0(self, argc, argv); + int retval = _wrap_new_KmerCountingBloomFilter32__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_KmerCountingBloomFilter16__SWIG_2(self, argc, argv); + int retval = _wrap_new_KmerCountingBloomFilter32__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 3) { - int retval = _wrap_new_KmerCountingBloomFilter16__SWIG_1(self, argc, argv); + int retval = _wrap_new_KmerCountingBloomFilter32__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerCountingBloomFilter16'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerCountingBloomFilter32'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::KmerCountingBloomFilter()\n" - " btllib::KmerCountingBloomFilter< uint16_t >::KmerCountingBloomFilter(size_t,unsigned int,unsigned int)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::KmerCountingBloomFilter(std::string const &)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::KmerCountingBloomFilter()\n" + " btllib::KmerCountingBloomFilter< uint32_t >::KmerCountingBloomFilter(size_t,unsigned int,unsigned int)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::KmerCountingBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -51052,21 +49748,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->insert((char const *)arg2,arg3); @@ -51079,29 +49774,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -51115,25 +49809,24 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_1(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->insert((uint64_t const *)arg2); @@ -51144,29 +49837,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_2(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -51180,14 +49872,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_3(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -51197,7 +49888,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_insert__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_insert__SWIG_2(self, argc, argv); } check_1: @@ -51208,35 +49899,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_insert__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::insert(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -51247,21 +49938,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->remove((char const *)arg2,arg3); @@ -51274,29 +49964,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -51310,25 +49999,24 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_1(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->remove((uint64_t const *)arg2); @@ -51339,29 +50027,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_2(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -51375,14 +50062,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_3(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_remove", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_remove", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -51392,7 +50078,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_remove__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_remove__SWIG_2(self, argc, argv); } check_1: @@ -51403,35 +50089,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_remove__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_remove__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_remove'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_remove'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::remove(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -51442,21 +50128,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->clear((char const *)arg2,arg3); @@ -51469,29 +50154,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -51505,25 +50189,24 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->clear((uint64_t const *)arg2); @@ -51534,29 +50217,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_2(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -51570,14 +50252,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_clear", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_clear", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -51587,7 +50268,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_clear__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_clear__SWIG_2(self, argc, argv); } check_1: @@ -51598,35 +50279,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_clear__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_clear__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_clear'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_clear'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::clear(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -51638,24 +50319,23 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((char const *)arg2,arg3); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((char const *)arg2,arg3); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; @@ -51665,34 +50345,33 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject * } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((std::string const &)*arg2); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((std::string const &)*arg2); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -51702,65 +50381,63 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_1(PyObject * } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned short)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned short)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -51769,14 +50446,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_3(PyObject * } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -51786,7 +50462,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, Py _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_contains__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_contains__SWIG_2(self, argc, argv); } check_1: @@ -51797,35 +50473,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, Py _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_contains__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_contains__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains(char const *,size_t) const\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains(std::string const &) const\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains(uint64_t const *) const\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::contains(char const *,size_t) const\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains(std::string const &) const\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains(uint64_t const *) const\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -51835,27 +50511,26 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyO int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (unsigned short)(arg1)->contains_insert((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -51864,35 +50539,34 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned short)(arg1)->contains_insert((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -51901,65 +50575,63 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned short)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned short)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -51968,14 +50640,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -51985,7 +50656,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *s _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(self, argc, argv); } check_1: @@ -51996,35 +50667,35 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *s _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -52034,27 +50705,26 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyO int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (unsigned short)(arg1)->insert_contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->insert_contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -52063,35 +50733,34 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned short)(arg1)->insert_contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->insert_contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -52100,65 +50769,63 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned short)(arg1)->insert_contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->insert_contains((uint64_t const *)arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned short)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + result = (unsigned int)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -52167,14 +50834,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -52184,7 +50850,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *s _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(self, argc, argv); } check_1: @@ -52195,38 +50861,38 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *s _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(self, argc, argv); + return _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_insert_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_insert_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; - unsigned short arg4 ; + unsigned int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; @@ -52234,34 +50900,33 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned short val4 ; + unsigned int val4 ; int ecode4 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(swig_obj[3], &val4); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "4"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "4"" of type '" "unsigned int""'"); } - arg4 = static_cast< unsigned short >(val4); - result = (unsigned short)(arg1)->insert_thresh_contains((char const *)arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg4 = static_cast< unsigned int >(val4); + result = (unsigned int)(arg1)->insert_thresh_contains((char const *)arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -52270,43 +50935,42 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; - unsigned short arg3 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short val3 ; + unsigned int val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->insert_thresh_contains((std::string const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->insert_thresh_contains((std::string const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -52315,81 +50979,79 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned short arg3 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned short val3 ; + unsigned int val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned short arg3 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short val3 ; + unsigned int val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_insert_thresh_contains" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -52398,14 +51060,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -52415,7 +51076,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_2(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_2(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } @@ -52428,40 +51089,40 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_2; - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_2: if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 4) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_insert_thresh_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_insert_thresh_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(char const *,size_t,unsigned short)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(std::string const &,unsigned short const)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(uint64_t const *,unsigned short const)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(char const *,size_t,unsigned int)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(std::string const &,unsigned int const)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(uint64_t const *,unsigned int const)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; - unsigned short arg4 ; + unsigned int arg4 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; @@ -52469,34 +51130,33 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned short val4 ; + unsigned int val4 ; int ecode4 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_short(swig_obj[3], &val4); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "4"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "4"" of type '" "unsigned int""'"); } - arg4 = static_cast< unsigned short >(val4); - result = (unsigned short)(arg1)->contains_insert_thresh((char const *)arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg4 = static_cast< unsigned int >(val4); + result = (unsigned int)(arg1)->contains_insert_thresh((char const *)arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -52505,43 +51165,42 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; - unsigned short arg3 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short val3 ; + unsigned int val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->contains_insert_thresh((std::string const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->contains_insert_thresh((std::string const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -52550,81 +51209,79 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned short arg3 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned short val3 ; + unsigned int val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned short arg3 ; + unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned short val3 ; + unsigned int val3 ; int ecode3 = 0 ; - unsigned short result; + unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_contains_insert_thresh" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned short >(val3); - result = (unsigned short)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result)); + arg3 = static_cast< unsigned int >(val3); + result = (unsigned int)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -52633,14 +51290,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -52650,7 +51306,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_2(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_2(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } @@ -52663,49 +51319,49 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_2; - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_2: if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 4) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_contains_insert_thresh'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_contains_insert_thresh'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(char const *,size_t,unsigned short)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(std::string const &,unsigned short const)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(uint64_t const *,unsigned short const)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const)\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(char const *,size_t,unsigned int)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(std::string const &,unsigned int const)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(uint64_t const *,unsigned int const)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_bytes" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_bytes" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = ((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = ((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -52713,29 +51369,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_bytes(PyObject *self, P } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - unsigned short arg2 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned short val2 ; + unsigned int val2 ; int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter16_get_pop_cnt" "', argument " "2"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter32_get_pop_cnt" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned short >(val2); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(arg2); + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(arg2); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -52743,21 +51398,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(PyObjec } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -52765,58 +51419,56 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(PyObjec } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_get_pop_cnt'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_get_pop_cnt'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::get_pop_cnt(unsigned short) const\n" - " btllib::KmerCountingBloomFilter< uint16_t >::get_pop_cnt() const\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::get_pop_cnt(unsigned int) const\n" + " btllib::KmerCountingBloomFilter< uint32_t >::get_pop_cnt() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - unsigned short arg2 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned short val2 ; + unsigned int val2 ; int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter16_get_occupancy" "', argument " "2"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter32_get_occupancy" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned short >(val2); - result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(arg2); + arg2 = static_cast< unsigned int >(val2); + result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -52824,21 +51476,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(PyObj } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -52846,50 +51497,49 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(PyObj } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_get_occupancy'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_get_occupancy'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::get_occupancy(unsigned short) const\n" - " btllib::KmerCountingBloomFilter< uint16_t >::get_occupancy() const\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::get_occupancy(unsigned int) const\n" + " btllib::KmerCountingBloomFilter< uint32_t >::get_occupancy() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_hash_num" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -52897,29 +51547,28 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_num(PyObject *self } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - unsigned short arg2 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned short val2 ; + unsigned int val2 ; int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_short(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter16_get_fpr" "', argument " "2"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter32_get_fpr" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned short >(val2); - result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_fpr(arg2); + arg2 = static_cast< unsigned int >(val2); + result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_fpr(arg2); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -52927,21 +51576,20 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(PyObject *s } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (double)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -52949,50 +51597,49 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(PyObject *s } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_get_fpr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_get_fpr'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::get_fpr(unsigned short) const\n" - " btllib::KmerCountingBloomFilter< uint16_t >::get_fpr() const\n"); + " btllib::KmerCountingBloomFilter< uint32_t >::get_fpr(unsigned int) const\n" + " btllib::KmerCountingBloomFilter< uint32_t >::get_fpr() const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_k" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_k" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -53000,21 +51647,21 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_k(PyObject *self, PyObj } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (std::string *) &((btllib::KmerCountingBloomFilter< uint16_t > const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (std::string *) &((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -53022,53 +51669,52 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_fn(PyObject *self, } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_counting_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_counting_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::CountingBloomFilter< unsigned short > *result = 0 ; + PyObject *swig_obj[1] ; + btllib::CountingBloomFilter< unsigned int > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_get_counting_bloom_filter" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_counting_bloom_filter" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - result = (btllib::CountingBloomFilter< unsigned short > *) &(arg1)->get_counting_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + result = (btllib::CountingBloomFilter< unsigned int > *) &(arg1)->get_counting_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_save" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_save" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -53082,28 +51728,27 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_save(PyObject *self, PyObje } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::KmerCountingBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); + result = (bool)btllib::KmerCountingBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -53113,19 +51758,19 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_is_bloom_file(PyObject *sel } -SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter16(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter16", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter32", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerCountingBloomFilter16" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerCountingBloomFilter32" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -53134,418 +51779,325 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter16(PyObject *self, PyOb } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter16) /* defines _wrap_delete_KmerCountingBloomFilter16_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter32) /* defines _wrap_delete_KmerCountingBloomFilter32_destructor_closure */ -SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + btllib::MIBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; - unsigned int arg3 ; + std::string arg3 ; size_t val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + btllib::MIBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerCountingBloomFilter32" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerCountingBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerCountingBloomFilter32" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerCountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerCountingBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter8" "', argument " "3"" of type '" "std::string""'"); } - arg1 = ptr; + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_KmerCountingBloomFilter32(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter32")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter32", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_KmerCountingBloomFilter32__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_KmerCountingBloomFilter32__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int retval = _wrap_new_KmerCountingBloomFilter32__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } +SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint8_t > *result = 0 ; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerCountingBloomFilter32'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::KmerCountingBloomFilter()\n" - " btllib::KmerCountingBloomFilter< uint32_t >::KmerCountingBloomFilter(size_t,unsigned int,unsigned int)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::KmerCountingBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + sdsl::bit_vector *arg1 = 0 ; + unsigned int arg2 ; + std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "char const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "3"" of type '" "size_t""'"); + arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); } - arg3 = static_cast< size_t >(val3); - (arg1)->insert((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg2 = static_cast< unsigned int >(val2); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter8" "', argument " "3"" of type '" "std::string""'"); } - arg2 = ptr; + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - (arg1)->insert((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + sdsl::bit_vector *arg1 = 0 ; + unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; + arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::MIBloomFilter< uint8_t > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); } - arg2 = ptr; + arg1 = ptr; } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_MIBloomFilter8(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter8")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter8", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_MIBloomFilter8__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 1) { + int retval = _wrap_new_MIBloomFilter8__SWIG_5(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } if (argc == 2) { int _v = 0; { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_insert__SWIG_2(self, argc, argv); + if (!_v) goto check_3; + int retval = _wrap_new_MIBloomFilter8__SWIG_4(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } -check_1: +check_3: if (argc == 2) { + int retval = _wrap_new_MIBloomFilter8__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { int _v = 0; { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (!_v) goto check_5; + int retval = _wrap_new_MIBloomFilter8__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } +check_5: + if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + int retval = _wrap_new_MIBloomFilter8__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MIBloomFilter8'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + " btllib::MIBloomFilter< uint8_t >::MIBloomFilter()\n" + " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(size_t,unsigned int,std::string)\n" + " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(size_t,unsigned int)\n" + " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int,std::string)\n" + " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int)\n" + " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_bv_insertion(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_complete_bv_insertion", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_complete_bv_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->remove((char const *)arg2,arg3); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + (arg1)->complete_bv_insertion(); resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_id_insertion(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_complete_id_insertion", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_complete_id_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - (arg1)->remove((std::string const &)*arg2); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + (arg1)->complete_id_insertion(); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_bv" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); + (arg1)->insert_bv((uint64_t const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -53553,33 +52105,32 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_2(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + (arg1)->insert_bv((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -53589,14 +52140,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_3(PyObject *se } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_remove", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_bv", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -53606,111 +52156,82 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove(PyObject *self, PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_remove__SWIG_2(self, argc, argv); + return _wrap_MIBloomFilter8_insert_bv__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_remove__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter8_insert_bv__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_remove'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_insert_bv'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::MIBloomFilter< uint8_t >::insert_bv(uint64_t const *)\n" + " btllib::MIBloomFilter< uint8_t >::insert_bv(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_bv_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->clear((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->bv_contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->clear((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); + result = (bool)(arg1)->bv_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -53719,28 +52240,72 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_bv_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_MIBloomFilter8_bv_contains__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_MIBloomFilter8_bv_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_bv_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::MIBloomFilter< uint8_t >::bv_contains(uint64_t const *)\n" + " btllib::MIBloomFilter< uint8_t >::bv_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned char *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; + unsigned char temp3 ; + unsigned char val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_id" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_id" "', argument " "3"" of type '" "unsigned char""'"); + } + temp3 = static_cast< unsigned char >(val3); + arg3 = &temp3; + (arg1)->insert_id((uint64_t const *)arg2,(unsigned char const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -53748,33 +52313,42 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_2(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned char *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + unsigned char temp3 ; + unsigned char val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_id" "', argument " "3"" of type '" "unsigned char""'"); + } + temp3 = static_cast< unsigned char >(val3); + arg3 = &temp3; + (arg1)->insert_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned char const &)*arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -53784,16 +52358,15 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_clear", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_id", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { + if (argc == 3) { int _v = 0; { void *vptr = 0; @@ -53801,180 +52374,216 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_clear__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_clear__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter8_insert_id__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } +check_1: + if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter8_insert_id__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_clear'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_insert_id'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::MIBloomFilter< uint8_t >::insert_id(uint64_t const *,unsigned char const &)\n" + " btllib::MIBloomFilter< uint8_t >::insert_id(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - uint64_t result; + void *argp2 = 0 ; + int res2 = 0 ; + std::vector< unsigned char,std::allocator< unsigned char > > result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_get_id" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (arg1)->get_id((uint64_t const *)arg2); + { + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); + } } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - uint64_t result; + std::vector< unsigned char,std::allocator< unsigned char > > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (arg1)->get_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + { + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); + } + } + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_id", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); } - arg2 = ptr; + if (!_v) goto check_1; + return _wrap_MIBloomFilter8_get_id__SWIG_0(self, argc, argv); } - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_MIBloomFilter8_get_id__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_get_id'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::MIBloomFilter< uint8_t >::get_id(uint64_t const *)\n" + " btllib::MIBloomFilter< uint8_t >::get_id(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; + unsigned char *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned int result; + unsigned char temp3 ; + unsigned char val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "3"" of type '" "unsigned char""'"); + } + temp3 = static_cast< unsigned char >(val3); + arg3 = &temp3; + (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned char const &)*arg3); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned char *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + unsigned char temp3 ; + unsigned char val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "3"" of type '" "unsigned char""'"); + } + temp3 = static_cast< unsigned char >(val3); + arg3 = &temp3; + (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned char const &)*arg3); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -53983,16 +52592,15 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_3(PyObject * } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_saturation", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 2) { + if (argc == 3) { int _v = 0; { void *vptr = 0; @@ -54000,144 +52608,123 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains(PyObject *self, Py _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_contains__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_contains__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter8_insert_saturation__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } +check_1: + if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter8_insert_saturation__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_insert_saturation'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains(char const *,size_t) const\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains(std::string const &) const\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains(uint64_t const *) const\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::MIBloomFilter< uint8_t >::insert_saturation(uint64_t const *,unsigned char const &)\n" + " btllib::MIBloomFilter< uint8_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "char const *""'"); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int result; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + result = (uint64_t)(arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_saturated_cnt(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; + + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + result = (uint64_t)(arg1)->get_pop_saturated_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned int)(arg1)->contains_insert((uint64_t const *)arg2); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint8_t > const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -54145,465 +52732,502 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(PyO } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > const *""'"); } - result = (unsigned int)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint8_t > const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(self, argc, argv); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > const *""'"); } -check_1: + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + result = (std::string *) &((btllib::MIBloomFilter< uint8_t > const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id_occurence_count(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + bool *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter8_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); + } + temp2 = static_cast< bool >(val2); + arg2 = &temp2; + result = (arg1)->get_id_occurence_count((bool const &)*arg2); + { + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(self, argc, argv); } -check_2: + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_MIBloomFilter8_calc_optimal_size(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + double arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + double val3 ; + int ecode3 = 0 ; + PyObject *swig_obj[3] ; + size_t result; - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "3"" of type '" "double""'"); + } + arg3 = static_cast< double >(val3); + result = btllib::MIBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_MIBloomFilter8(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter8", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter8" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter8) /* defines _wrap_delete_MIBloomFilter8_destructor_closure */ + +SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::MIBloomFilter< uint16_t > *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint16_t > *result = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter16" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } + result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint16_t > *result = 0 ; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + sdsl::bit_vector *arg1 = 0 ; + unsigned int arg2 ; + std::string arg3 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int result; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "char const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "3"" of type '" "size_t""'"); + arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); } - arg3 = static_cast< size_t >(val3); - result = (unsigned int)(arg1)->insert_contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int result; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg2 = static_cast< unsigned int >(val2); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter16" "', argument " "3"" of type '" "std::string""'"); } - arg2 = ptr; + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (unsigned int)(arg1)->insert_contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + sdsl::bit_vector *arg1 = 0 ; + unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int result; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::MIBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (unsigned int)(arg1)->insert_contains((uint64_t const *)arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; + arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::MIBloomFilter< uint16_t > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); } - arg2 = ptr; + arg1 = ptr; } - result = (unsigned int)(arg1)->insert_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_MIBloomFilter16(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter16")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter16", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_MIBloomFilter16__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 1) { + int retval = _wrap_new_MIBloomFilter16__SWIG_5(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } if (argc == 2) { int _v = 0; { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(self, argc, argv); + if (!_v) goto check_3; + int retval = _wrap_new_MIBloomFilter16__SWIG_4(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } -check_1: +check_3: if (argc == 2) { + int retval = _wrap_new_MIBloomFilter16__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { int _v = 0; { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); _v = SWIG_CheckState(res); } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (!_v) goto check_5; + int retval = _wrap_new_MIBloomFilter16__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } +check_5: + if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + int retval = _wrap_new_MIBloomFilter16__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_insert_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MIBloomFilter16'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + " btllib::MIBloomFilter< uint16_t >::MIBloomFilter()\n" + " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(size_t,unsigned int,std::string)\n" + " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(size_t,unsigned int)\n" + " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int,std::string)\n" + " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int)\n" + " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_complete_bv_insertion(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - unsigned int arg4 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_complete_bv_insertion", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_complete_bv_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (unsigned int)(arg1)->insert_thresh_contains((char const *)arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + (arg1)->complete_bv_insertion(); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_complete_id_insertion(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - unsigned int arg3 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_complete_id_insertion", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_complete_id_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->insert_thresh_contains((std::string const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + (arg1)->complete_id_insertion(); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_bv" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->insert_thresh_contains((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + (arg1)->insert_bv((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int arg3 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_insert_thresh_contains" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->insert_thresh_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + (arg1)->insert_bv((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -54612,16 +53236,15 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_bv", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 3) { + if (argc == 2) { int _v = 0; { void *vptr = 0; @@ -54629,133 +53252,82 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains(PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + return _wrap_MIBloomFilter16_insert_bv__SWIG_0(self, argc, argv); } check_1: - if (argc == 3) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_2: - - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 4) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWIG_0(self, argc, argv); + if (argc == 2) { + PyObject *retobj = _wrap_MIBloomFilter16_insert_bv__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_insert_thresh_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_insert_bv'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(char const *,size_t,unsigned int)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(std::string const &,unsigned int const)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(uint64_t const *,unsigned int const)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::insert_thresh_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); + " btllib::MIBloomFilter< uint16_t >::insert_bv(uint64_t const *)\n" + " btllib::MIBloomFilter< uint16_t >::insert_bv(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - unsigned int arg4 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int result; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_bv_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (unsigned int)(arg1)->contains_insert_thresh((char const *)arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->bv_contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - unsigned int arg3 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int result; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->contains_insert_thresh((std::string const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = (bool)(arg1)->bv_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -54764,81 +53336,116 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_bv_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_MIBloomFilter16_bv_contains__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_MIBloomFilter16_bv_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_bv_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::MIBloomFilter< uint16_t >::bv_contains(uint64_t const *)\n" + " btllib::MIBloomFilter< uint16_t >::bv_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned int arg3 ; + unsigned short *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned int val3 ; + unsigned short temp3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_id" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_id" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->contains_insert_thresh((uint64_t const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + temp3 = static_cast< unsigned short >(val3); + arg3 = &temp3; + (arg1)->insert_id((uint64_t const *)arg2,(unsigned short const &)*arg3); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int arg3 ; + unsigned short *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int val3 ; + unsigned short temp3 ; + unsigned short val3 ; int ecode3 = 0 ; - unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_contains_insert_thresh" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_id" "', argument " "3"" of type '" "unsigned short""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (unsigned int)(arg1)->contains_insert_thresh((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + temp3 = static_cast< unsigned short >(val3); + arg3 = &temp3; + (arg1)->insert_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned short const &)*arg3); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -54847,14 +53454,13 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_id", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -54864,349 +53470,357 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh(PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_2(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter16_insert_id__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_1: if (argc == 3) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_2: - - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 4) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter16_insert_id__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_contains_insert_thresh'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_insert_id'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(char const *,size_t,unsigned int)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(std::string const &,unsigned int const)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(uint64_t const *,unsigned int const)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::contains_insert_thresh(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const)\n"); + " btllib::MIBloomFilter< uint16_t >::insert_id(uint64_t const *,unsigned short const &)\n" + " btllib::MIBloomFilter< uint16_t >::insert_id(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + void *argp2 = 0 ; + int res2 = 0 ; + SwigValueWrapper< std::vector< unsigned short,std::allocator< unsigned short > > > result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_bytes" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_get_id" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (arg1)->get_id((uint64_t const *)arg2); + { + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); + } } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = ((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - unsigned int arg2 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - uint64_t result; + int res2 = SWIG_OLDOBJ ; + SwigValueWrapper< std::vector< unsigned short,std::allocator< unsigned short > > > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter32_get_pop_cnt" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (uint64_t)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + result = (arg1)->get_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + { + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); + } + } + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_id", 0, 2, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_MIBloomFilter16_get_id__SWIG_0(self, argc, argv); } +check_1: + if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter16_get_id__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_get_pop_cnt'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_get_id'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::get_pop_cnt(unsigned int) const\n" - " btllib::KmerCountingBloomFilter< uint32_t >::get_pop_cnt() const\n"); + " btllib::MIBloomFilter< uint16_t >::get_id(uint64_t const *)\n" + " btllib::MIBloomFilter< uint16_t >::get_id(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - unsigned int arg2 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + unsigned short *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - double result; + void *argp2 = 0 ; + int res2 = 0 ; + unsigned short temp3 ; + unsigned short val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter32_get_occupancy" "', argument " "2"" of type '" "unsigned int""'"); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "3"" of type '" "unsigned short""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); + temp3 = static_cast< unsigned short >(val3); + arg3 = &temp3; + (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned short const &)*arg3); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned short *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + int res2 = SWIG_OLDOBJ ; + unsigned short temp3 ; + unsigned short val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_occupancy" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_occupancy(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "3"" of type '" "unsigned short""'"); + } + temp3 = static_cast< unsigned short >(val3); + arg3 = &temp3; + (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned short const &)*arg3); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_saturation", 0, 3, argv+1))) SWIG_fail; argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(self, argc, argv); + if (argc == 3) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + PyObject *retobj = _wrap_MIBloomFilter16_insert_saturation__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(self, argc, argv); +check_1: + + if (argc == 3) { + PyObject *retobj = _wrap_MIBloomFilter16_insert_saturation__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_get_occupancy'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_insert_saturation'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::get_occupancy(unsigned int) const\n" - " btllib::KmerCountingBloomFilter< uint32_t >::get_occupancy() const\n"); + " btllib::MIBloomFilter< uint16_t >::insert_saturation(uint64_t const *,unsigned short const &)\n" + " btllib::MIBloomFilter< uint16_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - unsigned int arg2 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - double result; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "KmerCountingBloomFilter32_get_fpr" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_fpr(arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + result = (uint64_t)(arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_pop_saturated_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_fpr" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (double)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_fpr(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + result = (uint64_t)(arg1)->get_pop_saturated_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_get_fpr'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::get_fpr(unsigned int) const\n" - " btllib::KmerCountingBloomFilter< uint32_t >::get_fpr() const\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_k" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint16_t > const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -55214,132 +53828,141 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_k(PyObject *self, PyObj } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (std::string *) &((btllib::KmerCountingBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint16_t > const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_counting_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::CountingBloomFilter< unsigned int > *result = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_get_counting_bloom_filter" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > const *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - result = (btllib::CountingBloomFilter< unsigned int > *) &(arg1)->get_counting_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + result = (std::string *) &((btllib::MIBloomFilter< uint16_t > const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id_occurence_count(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + bool *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + bool temp2 ; + bool val2 ; + int ecode2 = 0 ; PyObject *swig_obj[2] ; + SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_save" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter16_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); + } + temp2 = static_cast< bool >(val2); + arg2 = &temp2; + result = (arg1)->get_id_occurence_count((bool const &)*arg2); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); } - arg2 = ptr; } - (arg1)->save((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter16_calc_optimal_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - bool result; + size_t arg1 ; + unsigned int arg2 ; + double arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + double val3 ; + int ecode3 = 0 ; + PyObject *swig_obj[3] ; + size_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - result = (bool)btllib::KmerCountingBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "3"" of type '" "double""'"); + } + arg3 = static_cast< double >(val3); + result = btllib::MIBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_MIBloomFilter16(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter32", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter16", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerCountingBloomFilter32" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter16" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -55348,23 +53971,22 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyOb } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter32) /* defines _wrap_delete_KmerCountingBloomFilter32_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter16) /* defines _wrap_delete_MIBloomFilter16_destructor_closure */ -SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *result = 0 ; + btllib::MIBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; @@ -55373,38 +53995,37 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - btllib::MIBloomFilter< uint8_t > *result = 0 ; + btllib::MIBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter8" "', argument " "3"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter32" "', argument " "3"" of type '" "std::string""'"); } arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; @@ -55412,29 +54033,28 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - btllib::MIBloomFilter< uint8_t > *result = 0 ; + btllib::MIBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; sdsl::bit_vector *arg1 = 0 ; unsigned int arg2 ; @@ -55443,41 +54063,40 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t nobjs int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - btllib::MIBloomFilter< uint8_t > *result = 0 ; + btllib::MIBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter8" "', argument " "3"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter32" "', argument " "3"" of type '" "std::string""'"); } arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; sdsl::bit_vector *arg1 = 0 ; unsigned int arg2 ; @@ -55485,52 +54104,50 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_4(PyObject *self, Py_ssize_t nobjs int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - btllib::MIBloomFilter< uint8_t > *result = 0 ; + btllib::MIBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); } arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter8" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::MIBloomFilter< uint8_t > *result = 0 ; + btllib::MIBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter8" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -55539,23 +54156,22 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_5(PyObject *self, Py_ssize_t nobjs } -SWIGINTERN int _wrap_new_MIBloomFilter8(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_MIBloomFilter32(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter8")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter8", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter32")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_MIBloomFilter8__SWIG_0(self, argc, argv); + int retval = _wrap_new_MIBloomFilter32__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_MIBloomFilter8__SWIG_5(self, argc, argv); + int retval = _wrap_new_MIBloomFilter32__SWIG_5(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } @@ -55567,14 +54183,14 @@ SWIGINTERN int _wrap_new_MIBloomFilter8(PyObject *self, PyObject *args, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_3; - int retval = _wrap_new_MIBloomFilter8__SWIG_4(self, argc, argv); + int retval = _wrap_new_MIBloomFilter32__SWIG_4(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } check_3: if (argc == 2) { - int retval = _wrap_new_MIBloomFilter8__SWIG_2(self, argc, argv); + int retval = _wrap_new_MIBloomFilter32__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } @@ -55586,44 +54202,44 @@ SWIGINTERN int _wrap_new_MIBloomFilter8(PyObject *self, PyObject *args, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_5; - int retval = _wrap_new_MIBloomFilter8__SWIG_3(self, argc, argv); + int retval = _wrap_new_MIBloomFilter32__SWIG_3(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } check_5: if (argc == 3) { - int retval = _wrap_new_MIBloomFilter8__SWIG_1(self, argc, argv); + int retval = _wrap_new_MIBloomFilter32__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MIBloomFilter8'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MIBloomFilter32'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint8_t >::MIBloomFilter()\n" - " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(size_t,unsigned int,std::string)\n" - " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(size_t,unsigned int)\n" - " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int,std::string)\n" - " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int)\n" - " btllib::MIBloomFilter< uint8_t >::MIBloomFilter(std::string const &)\n"); + " btllib::MIBloomFilter< uint32_t >::MIBloomFilter()\n" + " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(size_t,unsigned int,std::string)\n" + " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(size_t,unsigned int)\n" + " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int,std::string)\n" + " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int)\n" + " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_bv_insertion(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_bv_insertion(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_complete_bv_insertion", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_complete_bv_insertion", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_complete_bv_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_complete_bv_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); (arg1)->complete_bv_insertion(); resultobj = SWIG_Py_Void(); return resultobj; @@ -55632,19 +54248,19 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_bv_insertion(PyObject *self, } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_id_insertion(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_id_insertion(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_complete_id_insertion", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_complete_id_insertion", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_complete_id_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_complete_id_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); (arg1)->complete_id_insertion(); resultobj = SWIG_Py_Void(); return resultobj; @@ -55653,25 +54269,24 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_id_insertion(PyObject *self, } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_bv" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_bv" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->insert_bv((uint64_t const *)arg2); @@ -55682,29 +54297,28 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_0(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -55718,14 +54332,13 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_1(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_bv", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_bv", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -55735,28 +54348,28 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_MIBloomFilter8_insert_bv__SWIG_0(self, argc, argv); + return _wrap_MIBloomFilter32_insert_bv__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter8_insert_bv__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_insert_bv__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_insert_bv'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_bv'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint8_t >::insert_bv(uint64_t const *)\n" - " btllib::MIBloomFilter< uint8_t >::insert_bv(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::MIBloomFilter< uint32_t >::insert_bv(uint64_t const *)\n" + " btllib::MIBloomFilter< uint32_t >::insert_bv(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -55764,16 +54377,15 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_0(PyObject *self, Py int res2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_bv_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_bv_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); result = (bool)(arg1)->bv_contains((uint64_t const *)arg2); @@ -55784,30 +54396,29 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_0(PyObject *self, Py } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -55821,14 +54432,13 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_1(PyObject *self, Py } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_bv_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_bv_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -55838,57 +54448,56 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains(PyObject *self, PyObject * _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_MIBloomFilter8_bv_contains__SWIG_0(self, argc, argv); + return _wrap_MIBloomFilter32_bv_contains__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter8_bv_contains__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_bv_contains__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_bv_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_bv_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint8_t >::bv_contains(uint64_t const *)\n" - " btllib::MIBloomFilter< uint8_t >::bv_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::MIBloomFilter< uint32_t >::bv_contains(uint64_t const *)\n" + " btllib::MIBloomFilter< uint32_t >::bv_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned char *arg3 = 0 ; + unsigned int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char temp3 ; - unsigned char val3 ; + unsigned int temp3 ; + unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_id" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_id" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_id" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_id" "', argument " "3"" of type '" "unsigned int""'"); } - temp3 = static_cast< unsigned char >(val3); + temp3 = static_cast< unsigned int >(val3); arg3 = &temp3; - (arg1)->insert_id((uint64_t const *)arg2,(unsigned char const &)*arg3); + (arg1)->insert_id((uint64_t const *)arg2,(unsigned int const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -55896,43 +54505,42 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_0(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned char *arg3 = 0 ; + unsigned int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char temp3 ; - unsigned char val3 ; + unsigned int temp3 ; + unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_id" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_id" "', argument " "3"" of type '" "unsigned int""'"); } - temp3 = static_cast< unsigned char >(val3); + temp3 = static_cast< unsigned int >(val3); arg3 = &temp3; - (arg1)->insert_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned char const &)*arg3); + (arg1)->insert_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned int const &)*arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -55942,14 +54550,13 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_1(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_id", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_id", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -55959,52 +54566,51 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter8_insert_id__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_insert_id__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_1: if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter8_insert_id__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_insert_id__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_insert_id'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_id'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint8_t >::insert_id(uint64_t const *,unsigned char const &)\n" - " btllib::MIBloomFilter< uint8_t >::insert_id(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const &)\n"); + " btllib::MIBloomFilter< uint32_t >::insert_id(uint64_t const *,unsigned int const &)\n" + " btllib::MIBloomFilter< uint32_t >::insert_id(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - std::vector< unsigned char,std::allocator< unsigned char > > result; + std::vector< unsigned int,std::allocator< unsigned int > > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_get_id" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_get_id" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); result = (arg1)->get_id((uint64_t const *)arg2); { - const std::vector& vec = result; + const std::vector& vec = result; resultobj = PyList_New(vec.size()); for (unsigned i = 0; i < vec.size(); ++i) { PyObject *item = PyLong_FromUnsignedLong(vec[i]); @@ -56017,36 +54623,35 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_0(PyObject *self, Py_ssiz } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - std::vector< unsigned char,std::allocator< unsigned char > > result; + std::vector< unsigned int,std::allocator< unsigned int > > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } result = (arg1)->get_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); { - const std::vector& vec = result; + const std::vector& vec = result; resultobj = PyList_New(vec.size()); for (unsigned i = 0; i < vec.size(); ++i) { PyObject *item = PyLong_FromUnsignedLong(vec[i]); @@ -56061,14 +54666,13 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_1(PyObject *self, Py_ssiz } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[3] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_id", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_id", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -56078,57 +54682,56 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id(PyObject *self, PyObject *args) _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_MIBloomFilter8_get_id__SWIG_0(self, argc, argv); + return _wrap_MIBloomFilter32_get_id__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter8_get_id__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_get_id__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_get_id'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_get_id'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint8_t >::get_id(uint64_t const *)\n" - " btllib::MIBloomFilter< uint8_t >::get_id(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::MIBloomFilter< uint32_t >::get_id(uint64_t const *)\n" + " btllib::MIBloomFilter< uint32_t >::get_id(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; - unsigned char *arg3 = 0 ; + unsigned int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - unsigned char temp3 ; - unsigned char val3 ; + unsigned int temp3 ; + unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); } - temp3 = static_cast< unsigned char >(val3); + temp3 = static_cast< unsigned int >(val3); arg3 = &temp3; - (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned char const &)*arg3); + (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned int const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -56136,43 +54739,42 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_0(PyObject *se } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned char *arg3 = 0 ; + unsigned int *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned char temp3 ; - unsigned char val3 ; + unsigned int temp3 ; + unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_insert_saturation" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); } - temp3 = static_cast< unsigned char >(val3); + temp3 = static_cast< unsigned int >(val3); arg3 = &temp3; - (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned char const &)*arg3); + (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned int const &)*arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -56182,14 +54784,13 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_1(PyObject *se } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_saturation", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_saturation", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { int _v = 0; @@ -56199,52 +54800,51 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation(PyObject *self, PyOb _v = SWIG_CheckState(res); } if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter8_insert_saturation__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } check_1: if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter8_insert_saturation__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter8_insert_saturation'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_saturation'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint8_t >::insert_saturation(uint64_t const *,unsigned char const &)\n" - " btllib::MIBloomFilter< uint8_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned char const &)\n"); + " btllib::MIBloomFilter< uint32_t >::insert_saturation(uint64_t const *,unsigned int const &)\n" + " btllib::MIBloomFilter< uint32_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter8_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -56258,20 +54858,20 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_save(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); result = (uint64_t)(arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; @@ -56280,20 +54880,20 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_cnt(PyObject *self, PyObject * } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_saturated_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_saturated_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); result = (uint64_t)(arg1)->get_pop_saturated_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; @@ -56302,21 +54902,21 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_saturated_cnt(PyObject *self, } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint8_t > const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -56324,21 +54924,21 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_num(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint8_t > const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -56346,21 +54946,21 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_k(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); - result = (std::string *) &((btllib::MIBloomFilter< uint8_t > const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (std::string *) &((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -56368,9 +54968,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_fn(PyObject *self, PyObject * } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id_occurence_count(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id_occurence_count(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; bool *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -56380,17 +54980,16 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id_occurence_count(PyObject *self, PyObject *swig_obj[2] ; SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter8_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter8_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); } temp2 = static_cast< bool >(val2); arg2 = &temp2; @@ -56409,7 +55008,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id_occurence_count(PyObject *self, } -SWIGINTERN PyObject *_wrap_MIBloomFilter8_calc_optimal_size(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_calc_optimal_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; @@ -56423,24 +55022,23 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_calc_optimal_size(PyObject *self, PyOb PyObject *swig_obj[3] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "3"" of type '" "double""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(SWIG_STD_MOVE(arg1),arg2,arg3); + result = btllib::MIBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -56448,19 +55046,19 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_calc_optimal_size(PyObject *self, PyOb } -SWIGINTERN PyObject *_wrap_delete_MIBloomFilter8(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_MIBloomFilter32(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter8", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter32", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter8" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint8_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter32" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint8_t > * >(argp1); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -56469,1119 +55067,1288 @@ SWIGINTERN PyObject *_wrap_delete_MIBloomFilter8(PyObject *self, PyObject *args) } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter8) /* defines _wrap_delete_MIBloomFilter8_destructor_closure */ - -SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *result = 0 ; - - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter32) /* defines _wrap_delete_MIBloomFilter32_destructor_closure */ -SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::string arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint16_t > *result = 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter16" "', argument " "3"" of type '" "std::string""'"); - } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_id" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint16_t > *result = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_id(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - sdsl::bit_vector *arg1 = 0 ; - unsigned int arg2 ; - std::string arg3 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint16_t > *result = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter16" "', argument " "3"" of type '" "std::string""'"); - } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_bx" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_bx(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - sdsl::bit_vector *arg1 = 0 ; - unsigned int arg2 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint16_t > *result = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_seq" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter16" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_seq(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::MIBloomFilter< uint16_t > *result = 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter16" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_qual" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_qual(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_MIBloomFilter16(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter16")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter16", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_MIBloomFilter16__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_MIBloomFilter16__SWIG_5(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_3; - int retval = _wrap_new_MIBloomFilter16__SWIG_4(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_3: - - if (argc == 2) { - int retval = _wrap_new_MIBloomFilter16__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_5; - int retval = _wrap_new_MIBloomFilter16__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_5: +SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if (argc == 3) { - int retval = _wrap_new_MIBloomFilter16__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_in" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->filter_in(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MIBloomFilter16'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint16_t >::MIBloomFilter()\n" - " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(size_t,unsigned int,std::string)\n" - " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(size_t,unsigned int)\n" - " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int,std::string)\n" - " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int)\n" - " btllib::MIBloomFilter< uint16_t >::MIBloomFilter(std::string const &)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_complete_bv_insertion(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_complete_bv_insertion", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_complete_bv_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_out" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - (arg1)->complete_bv_insertion(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->filter_out(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_complete_id_insertion(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_complete_id_insertion", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_complete_id_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_short_mode" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - (arg1)->complete_id_insertion(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->short_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_bv" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_long_mode" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert_bv((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->long_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + btllib::Indexlr< btllib::NtHash >::Record result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_read" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - (arg1)->insert_bv((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (arg1)->read(); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::Record(static_cast< const btllib::Indexlr< btllib::NtHash >::Record& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + btllib::BloomFilter *arg7 = 0 ; + btllib::BloomFilter *arg8 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_bv", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - if (!_v) goto check_1; - return _wrap_MIBloomFilter16_insert_bv__SWIG_0(self, argc, argv); + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter16_insert_bv__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); } - + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7,(btllib::BloomFilter const &)*arg8); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_insert_bv'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint16_t >::insert_bv(uint64_t const *)\n" - " btllib::MIBloomFilter< uint16_t >::insert_bv(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + btllib::BloomFilter *arg7 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_bv_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->bv_contains((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg2 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (bool)(arg1)->bv_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_bv_contains", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - if (!_v) goto check_1; - return _wrap_MIBloomFilter16_bv_contains__SWIG_0(self, argc, argv); + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } -check_1: + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter16_bv_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_bv_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint16_t >::bv_contains(uint64_t const *)\n" - " btllib::MIBloomFilter< uint16_t >::bv_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short temp3 ; - unsigned short val3 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; int ecode3 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + btllib::BloomFilter *arg8 = 0 ; + btllib::BloomFilter *arg9 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_id" "', argument " "2"" of type '" "uint64_t const *""'"); + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_id" "', argument " "3"" of type '" "unsigned short""'"); - } - temp3 = static_cast< unsigned short >(val3); - arg3 = &temp3; - (arg1)->insert_id((uint64_t const *)arg2,(unsigned short const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp9) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + } + arg9 = reinterpret_cast< btllib::BloomFilter * >(argp9); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8,(btllib::BloomFilter const &)*arg9); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned short temp3 ; - unsigned short val3 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + btllib::BloomFilter *arg8 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg2 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_id" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); } - temp3 = static_cast< unsigned short >(val3); - arg3 = &temp3; - (arg1)->insert_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned short const &)*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_id", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter16_insert_id__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); } -check_1: - - if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter16_insert_id__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); } - + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_insert_id'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint16_t >::insert_id(uint64_t const *,unsigned short const &)\n" - " btllib::MIBloomFilter< uint16_t >::insert_id(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - SwigValueWrapper< std::vector< unsigned short,std::allocator< unsigned short > > > result; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_get_id" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (arg1)->get_id((uint64_t const *)arg2); + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - SwigValueWrapper< std::vector< unsigned short,std::allocator< unsigned short > > > result; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - result = (arg1)->get_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); - } - } - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_id", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - if (!_v) goto check_1; - return _wrap_MIBloomFilter16_get_id__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter16_get_id__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_get_id'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint16_t >::get_id(uint64_t const *)\n" - " btllib::MIBloomFilter< uint16_t >::get_id(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned short temp3 ; - unsigned short val3 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); } - temp3 = static_cast< unsigned short >(val3); - arg3 = &temp3; - (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned short const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned short *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned short temp3 ; - unsigned short val3 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg2 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_short(swig_obj[2], &val3); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_insert_saturation" "', argument " "3"" of type '" "unsigned short""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); } - temp3 = static_cast< unsigned short >(val3); - arg3 = &temp3; - (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned short const &)*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[10] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_saturation", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; + --argc; if (argc == 3) { + int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 4) { int _v = 0; { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } } - if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter16_insert_saturation__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (!_v) goto check_2; + return _wrap_new_Indexlr__SWIG_4(self, argc, argv); + } +check_2: + + if (argc == 4) { + int retval = _wrap_new_Indexlr__SWIG_11(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } -check_1: + if (argc == 5) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } +check_4: - if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter16_insert_saturation__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 5) { + int retval = _wrap_new_Indexlr__SWIG_10(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } + if (argc == 6) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + return _wrap_new_Indexlr__SWIG_2(self, argc, argv); + } +check_6: -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter16_insert_saturation'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint16_t >::insert_saturation(uint64_t const *,unsigned short const &)\n" - " btllib::MIBloomFilter< uint16_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned short const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter16_save(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + if (argc == 6) { + int retval = _wrap_new_Indexlr__SWIG_9(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 7) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_8; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_8; + { + int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_8; + return _wrap_new_Indexlr__SWIG_1(self, argc, argv); + } +check_8: - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + if (argc == 7) { + int retval = _wrap_new_Indexlr__SWIG_8(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + if (argc == 8) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter16_save" "', argument " "2"" of type '" "std::string const &""'"); + if (!_v) goto check_10; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } } - arg2 = ptr; + if (!_v) goto check_10; + { + int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_10; + int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - (arg1)->save((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_pop_cnt(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; +check_10: - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + if (argc == 8) { + int retval = _wrap_new_Indexlr__SWIG_7(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - result = (uint64_t)(arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; + if (argc == 9) { + int retval = _wrap_new_Indexlr__SWIG_6(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_pop_saturated_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Indexlr" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - result = (uint64_t)(arg1)->get_pop_saturated_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_close" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint16_t > const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + (arg1)->close(); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + SwigValueWrapper< btllib::Indexlr< btllib::NtHash >::RecordIterator > result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___iter__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint16_t > const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::RecordIterator(static_cast< const btllib::Indexlr< btllib::NtHash >::RecordIterator& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[1] ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___enter__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - result = (std::string *) &((btllib::MIBloomFilter< uint16_t > const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (btllib::Indexlr< btllib::NtHash > *)btllib_Indexlr_Sl_btllib_NtHash_Sg____enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id_occurence_count(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; - bool *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool temp2 ; - bool val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; + PyObject *swig_obj[4] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter16_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); - ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter16_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); - } - temp2 = static_cast< bool >(val2); - arg2 = &temp2; - result = (arg1)->get_id_occurence_count((bool const &)*arg2); - { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); - } + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___exit__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_Indexlr_Sl_btllib_NtHash_Sg____exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter16_calc_optimal_size(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Indexlr) /* defines _wrap_delete_Indexlr_destructor_closure */ + +SWIGPY_GETITERFUNC_CLOSURE(_wrap_Indexlr___iter__) /* defines _wrap_Indexlr___iter___getiterfunc_closure */ + +SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - double arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject *swig_obj[3] ; - size_t result; + btllib::Indexlr< btllib::NtHash >::Flag *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(SWIG_STD_MOVE(arg1),arg2,arg3); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; + result = (btllib::Indexlr< btllib::NtHash >::Flag *)new btllib::Indexlr< btllib::NtHash >::Flag(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_delete_MIBloomFilter16(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Flag *arg1 = (btllib::Indexlr< btllib::NtHash >::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter16", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter16" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint16_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrFlag" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Flag *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint16_t > * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Flag * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -57590,283 +56357,199 @@ SWIGINTERN PyObject *_wrap_delete_MIBloomFilter16(PyObject *self, PyObject *args } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter16) /* defines _wrap_delete_MIBloomFilter16_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrFlag) /* defines _wrap_delete_IndexlrFlag_destructor_closure */ -SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *result = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::string arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint32_t > *result = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter32" "', argument " "3"" of type '" "std::string""'"); - } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::Indexlr< btllib::NtHash >::Minimizer *)new btllib::Indexlr< btllib::NtHash >::Minimizer(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; + uint64_t arg1 ; + uint64_t arg2 ; + size_t arg3 ; + bool arg4 ; + std::string arg5 ; + uint64_t val1 ; int ecode1 = 0 ; - unsigned int val2 ; + uint64_t val2 ; int ecode2 = 0 ; - btllib::MIBloomFilter< uint32_t > *result = 0 ; + size_t val3 ; + int ecode3 = 0 ; + bool val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - sdsl::bit_vector *arg1 = 0 ; - unsigned int arg2 ; - std::string arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint32_t > *result = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); } - arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_MIBloomFilter32" "', argument " "3"" of type '" "std::string""'"); - } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - sdsl::bit_vector *arg1 = 0 ; - unsigned int arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::MIBloomFilter< uint32_t > *result = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "sdsl::bit_vector &""'"); - } - arg1 = reinterpret_cast< sdsl::bit_vector * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MIBloomFilter32" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); + arg2 = static_cast< uint64_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + } + arg4 = static_cast< bool >(val4); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); + } + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (btllib::Indexlr< btllib::NtHash >::Minimizer *)new btllib::Indexlr< btllib::NtHash >::Minimizer(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::MIBloomFilter< uint32_t > *result = 0 ; + uint64_t arg1 ; + uint64_t arg2 ; + size_t arg3 ; + bool arg4 ; + std::string arg5 ; + std::string arg6 ; + uint64_t val1 ; + int ecode1 = 0 ; + uint64_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + bool val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + } + arg4 = static_cast< bool >(val4); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_MIBloomFilter32" "', argument " "1"" of type '" "std::string const &""'"); + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[5], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "6"" of type '" "std::string""'"); } - arg1 = ptr; + arg6 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + result = (btllib::Indexlr< btllib::NtHash >::Minimizer *)new btllib::Indexlr< btllib::NtHash >::Minimizer(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_MIBloomFilter32(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[7] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter32")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter32", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_MIBloomFilter32__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_MIBloomFilter32__SWIG_5(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_3; - int retval = _wrap_new_MIBloomFilter32__SWIG_4(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_3: - - if (argc == 2) { - int retval = _wrap_new_MIBloomFilter32__SWIG_2(self, argc, argv); + int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_sdsl__bit_vector, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_5; - int retval = _wrap_new_MIBloomFilter32__SWIG_3(self, argc, argv); + if (argc == 5) { + int retval = _wrap_new_Minimizer__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } -check_5: - - if (argc == 3) { - int retval = _wrap_new_MIBloomFilter32__SWIG_1(self, argc, argv); + if (argc == 6) { + int retval = _wrap_new_Minimizer__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_MIBloomFilter32'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::MIBloomFilter()\n" - " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(size_t,unsigned int,std::string)\n" - " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(size_t,unsigned int)\n" - " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int,std::string)\n" - " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(sdsl::bit_vector &,unsigned int)\n" - " btllib::MIBloomFilter< uint32_t >::MIBloomFilter(std::string const &)\n"); + " btllib::Indexlr< btllib::NtHash >::Minimizer::Minimizer()\n" + " btllib::Indexlr< btllib::NtHash >::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n" + " btllib::Indexlr< btllib::NtHash >::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string,std::string)\n"); return -1; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_bv_insertion(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + uint64_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; + uint64_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_complete_bv_insertion", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_complete_bv_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - (arg1)->complete_bv_insertion(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_min_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + if (arg1) (arg1)->min_hash = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -57874,49 +56557,51 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_bv_insertion(PyObject *self, } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_id_insertion(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_complete_id_insertion", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_complete_id_insertion" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - (arg1)->complete_id_insertion(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + result = (uint64_t) ((arg1)->min_hash); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + uint64_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + uint64_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_bv" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert_bv((uint64_t const *)arg2); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_out_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + if (arg1) (arg1)->out_hash = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -57924,257 +56609,160 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_0(PyObject *self, Py_ } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_bv" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_bv" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - (arg1)->insert_bv((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + result = (uint64_t) ((arg1)->out_hash); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_bv", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_MIBloomFilter32_insert_bv__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter32_insert_bv__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_bv'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::insert_bv(uint64_t const *)\n" - " btllib::MIBloomFilter< uint32_t >::insert_bv(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_bv_contains" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->bv_contains((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_pos_set" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->pos = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_bv_contains" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_bv_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - result = (bool)(arg1)->bv_contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + result = ((arg1)->pos); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_bv_contains", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_MIBloomFilter32_bv_contains__SWIG_0(self, argc, argv); - } -check_1: +SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter32_bv_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_forward_set" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + if (arg1) (arg1)->forward = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_bv_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::bv_contains(uint64_t const *)\n" - " btllib::MIBloomFilter< uint32_t >::bv_contains(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned int *arg3 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int temp3 ; - unsigned int val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_id" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_id" "', argument " "3"" of type '" "unsigned int""'"); - } - temp3 = static_cast< unsigned int >(val3); - arg3 = &temp3; - (arg1)->insert_id((uint64_t const *)arg2,(unsigned int const &)*arg3); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + result = (bool) ((arg1)->forward); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int *arg3 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int temp3 ; - unsigned int val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_id" "', argument " "3"" of type '" "unsigned int""'"); - } - temp3 = static_cast< unsigned int >(val3); - arg3 = &temp3; - (arg1)->insert_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned int const &)*arg3); + if (arg1) (arg1)->seq = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -58184,193 +56772,233 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_1(PyObject *self, Py_ } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; +SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_id", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter32_insert_id__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } -check_1: + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + result = (std::string *) & ((arg1)->seq); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter32_insert_id__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - + if (arg1) (arg1)->qual = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_id'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::insert_id(uint64_t const *,unsigned int const &)\n" - " btllib::MIBloomFilter< uint32_t >::insert_id(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const &)\n"); - return 0; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - std::vector< unsigned int,std::allocator< unsigned int > > result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_get_id" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (arg1)->get_id((uint64_t const *)arg2); - { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); - } + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + result = (std::string *) & ((arg1)->qual); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - std::vector< unsigned int,std::allocator< unsigned int > > result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Minimizer" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ + +SWIGINTERN PyObject *_wrap_new_Record__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Record *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::Indexlr< btllib::NtHash >::Record *)new btllib::Indexlr< btllib::NtHash >::Record(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + std::string arg2 ; + std::string arg3 ; + size_t arg4 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > arg5 ; + size_t val1 ; + int ecode1 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash >::Record *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Record" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "2"" of type '" "std::string""'"); } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_get_id" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "3"" of type '" "std::string""'"); } - arg2 = ptr; + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (arg1)->get_id((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Record" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; + int res = swig::asptr(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "5"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >""'"); } + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - if (SWIG_IsNewObj(res2)) delete arg2; + result = (btllib::Indexlr< btllib::NtHash >::Record *)new btllib::Indexlr< btllib::NtHash >::Record(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_new_Record(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[6] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_id", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_MIBloomFilter32_get_id__SWIG_0(self, argc, argv); + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Record", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 0) { + PyObject *retobj = _wrap_new_Record__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_MIBloomFilter32_get_id__SWIG_1(self, argc, argv); + if (argc == 5) { + PyObject *retobj = _wrap_new_Record__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_get_id'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Record'.\n" " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::get_id(uint64_t const *)\n" - " btllib::MIBloomFilter< uint32_t >::get_id(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::Indexlr< btllib::NtHash >::Record::Record()\n" + " btllib::Indexlr< btllib::NtHash >::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >)\n"); return 0; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - unsigned int *arg3 = 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - unsigned int temp3 ; - unsigned int val3 ; - int ecode3 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_num_set" "', argument " "2"" of type '" "size_t""'"); } - temp3 = static_cast< unsigned int >(val3); - arg3 = &temp3; - (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned int const &)*arg3); + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->num = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -58378,43 +57006,56 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_0(PyObject *s } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int *arg3 = 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + result = ((arg1)->num); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int temp3 ; - unsigned int val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); - } - temp3 = static_cast< unsigned int >(val3); - arg3 = &temp3; - (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned int const &)*arg3); + if (arg1) (arg1)->id = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -58424,73 +57065,56 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_1(PyObject *s } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_saturation", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_1: +SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + result = (std::string *) & ((arg1)->id); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_saturation'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::insert_saturation(uint64_t const *,unsigned int const &)\n" - " btllib::MIBloomFilter< uint32_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->save((std::string const &)*arg2); + if (arg1) (arg1)->barcode = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -58500,209 +57124,228 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_save(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (uint64_t)(arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + result = (std::string *) & ((arg1)->barcode); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_saturated_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (uint64_t)(arg1)->get_pop_saturated_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_readlen_set" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->readlen = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + result = ((arg1)->readlen); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *arg2 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > * >(argp2); + if (arg1) (arg1)->minimizers = *arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (std::string *) &((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)& ((arg1)->minimizers); + + resultobj = PyList_New(result->size()); + for (unsigned i = 0; i < result->size(); ++i) { + PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*(result))[i]), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_OWN); + PyList_SetItem(resultobj, i, item); + } + return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id_occurence_count(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - bool *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool temp2 ; - bool val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord___nonzero__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record const *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); - } - temp2 = static_cast< bool >(val2); - arg2 = &temp2; - result = (arg1)->get_id_occurence_count((bool const &)*arg2); - { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); - } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash >::Record const *)arg1)->operator bool(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + PyErr_Clear(); + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecord" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_MIBloomFilter32_calc_optimal_size(PyObject *self, PyObject *args) { +SWIGPY_INQUIRY_CLOSURE(_wrap_IndexlrRecord___nonzero__) /* defines _wrap_IndexlrRecord___nonzero___inquiry_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecord) /* defines _wrap_delete_IndexlrRecord_destructor_closure */ + +SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - double arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject *swig_obj[3] ; - size_t result; + btllib::Indexlr< btllib::NtHash >::RecordIterator *arg1 = (btllib::Indexlr< btllib::NtHash >::RecordIterator *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::Indexlr< btllib::NtHash >::Record result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(SWIG_STD_MOVE(arg1),arg2,arg3); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecordIterator___next__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::RecordIterator *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::RecordIterator * >(argp1); + { + result = (arg1)->next(); + if (!bool(result)) { + PyErr_SetNone(PyExc_StopIteration); + SWIG_fail; + } + } + resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::Record(static_cast< const btllib::Indexlr< btllib::NtHash >::Record& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_delete_MIBloomFilter32(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_IndexlrRecordIterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + btllib::Indexlr< btllib::NtHash >::RecordIterator *arg1 = (btllib::Indexlr< btllib::NtHash >::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter32", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecordIterator", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter32" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecordIterator" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::RecordIterator *""'"); } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::RecordIterator * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -58711,9 +57354,13 @@ SWIGINTERN PyObject *_wrap_delete_MIBloomFilter32(PyObject *self, PyObject *args } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter32) /* defines _wrap_delete_MIBloomFilter32_destructor_closure */ +SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_IndexlrRecordIterator___next__) /* defines _wrap_IndexlrRecordIterator___next___iternextfunc_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecordIterator) /* defines _wrap_delete_IndexlrRecordIterator_destructor_closure */ static PyMethodDef SwigMethods[] = { + { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, + { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -58745,9 +57392,15 @@ static PyMethodDef SwigMethods[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, + { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, + { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, + { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, + { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, + { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, + { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, { "split", _wrap_split, METH_VARARGS, NULL}, { "join", _wrap_join, METH_VARARGS, NULL}, { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, @@ -58792,10 +57445,22 @@ static PyMethodDef SwigMethods[] = { { "aahash_roll", _wrap_aahash_roll, METH_VARARGS, NULL}, { "aa_modify_base_with_seed", _wrap_aa_modify_base_with_seed, METH_VARARGS, NULL}, { "aa_parse_seeds", _wrap_aa_parse_seeds, METH_O, NULL}, + { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, + { "MIBloomFilter8_calc_optimal_size", _wrap_MIBloomFilter8_calc_optimal_size, METH_VARARGS, NULL}, + { "MIBloomFilter16_calc_optimal_size", _wrap_MIBloomFilter16_calc_optimal_size, METH_VARARGS, NULL}, + { "MIBloomFilter32_calc_optimal_size", _wrap_MIBloomFilter32_calc_optimal_size, METH_VARARGS, NULL}, + { "new_Record", _wrap_new_Record, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; static PyMethodDef SwigMethods_proxydocs[] = { + { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, + { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -58827,9 +57492,15 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, + { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, + { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, + { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, + { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, + { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, + { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, { "split", _wrap_split, METH_VARARGS, NULL}, { "join", _wrap_join, METH_VARARGS, NULL}, { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, @@ -58874,72 +57545,82 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "aahash_roll", _wrap_aahash_roll, METH_VARARGS, NULL}, { "aa_modify_base_with_seed", _wrap_aa_modify_base_with_seed, METH_VARARGS, NULL}, { "aa_parse_seeds", _wrap_aa_parse_seeds, METH_O, NULL}, + { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, + { "MIBloomFilter8_calc_optimal_size", _wrap_MIBloomFilter8_calc_optimal_size, METH_VARARGS, NULL}, + { "MIBloomFilter16_calc_optimal_size", _wrap_MIBloomFilter16_calc_optimal_size, METH_VARARGS, NULL}, + { "MIBloomFilter32_calc_optimal_size", _wrap_MIBloomFilter32_calc_optimal_size, METH_VARARGS, NULL}, + { "new_Record", _wrap_new_Record, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; -static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; -static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; -static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; -static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; -static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; -static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; -static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; -static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; -static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; -static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; +static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; +static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; static SwigPyGetSet ios_base_basefield_getset = { _wrap_ios_base_basefield_get, 0 }; static PyGetSetDef ios_base_basefield_getset_def = { (char *)"basefield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.basefield", &ios_base_basefield_getset }; -static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; -static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; -static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; -static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; -static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; -static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; -static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; -static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; -static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; -static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; -static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; -static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; -static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; -static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; -static SwigPyGetSet ios_base_out_getset = { _wrap_ios_base_out_get, 0 }; -static PyGetSetDef ios_base_out_getset_def = { (char *)"out", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.out", &ios_base_out_getset }; +static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; +static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; static SwigPyGetSet ios_base_unitbuf_getset = { _wrap_ios_base_unitbuf_get, 0 }; static PyGetSetDef ios_base_unitbuf_getset_def = { (char *)"unitbuf", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.unitbuf", &ios_base_unitbuf_getset }; +static SwigPyGetSet ios_base_out_getset = { _wrap_ios_base_out_get, 0 }; +static PyGetSetDef ios_base_out_getset_def = { (char *)"out", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.out", &ios_base_out_getset }; +static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; +static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; +static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; +static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; +static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; +static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; static SwigPyGetSet ios_base_oct_getset = { _wrap_ios_base_oct_get, 0 }; static PyGetSetDef ios_base_oct_getset_def = { (char *)"oct", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.oct", &ios_base_oct_getset }; +static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; +static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; static SwigPyGetSet ios_base_internal_getset = { _wrap_ios_base_internal_get, 0 }; static PyGetSetDef ios_base_internal_getset_def = { (char *)"internal", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.internal", &ios_base_internal_getset }; -static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; -static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; -static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; -static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; +static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; +static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; static SwigPyGetSet ios_base_skipws_getset = { _wrap_ios_base_skipws_get, 0 }; static PyGetSetDef ios_base_skipws_getset_def = { (char *)"skipws", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.skipws", &ios_base_skipws_getset }; -static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; -static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; -static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; -static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; -static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; -static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; -static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; -static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; +static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; +static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; +static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; +static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; +static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; +static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; static SwigPyGetSet ios_base_dec_getset = { _wrap_ios_base_dec_get, 0 }; static PyGetSetDef ios_base_dec_getset_def = { (char *)"dec", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.dec", &ios_base_dec_getset }; -static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; -static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; -static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; -static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; -static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; -static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; -static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; -static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; +static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; +static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; +static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; +static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; static SwigPyGetSet ios_base_showbase_getset = { _wrap_ios_base_showbase_get, 0 }; static PyGetSetDef ios_base_showbase_getset_def = { (char *)"showbase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showbase", &ios_base_showbase_getset }; +static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; +static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; +static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; +static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; +static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; +static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; +static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; +static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; +static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; +static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; static SwigPyGetSet ios_base_badbit_getset = { _wrap_ios_base_badbit_get, 0 }; static PyGetSetDef ios_base_badbit_getset_def = { (char *)"badbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.badbit", &ios_base_badbit_getset }; +static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; +static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; +static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; +static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; +static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; +static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; +static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; +static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; +static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; +static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; SWIGINTERN PyGetSetDef SwigPyBuiltin__std__ios_base_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &ios_base___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ @@ -58987,11 +57668,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_base_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59063,9 +57740,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -59166,15 +57840,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__ios_base_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__ios_base_type}; @@ -59230,11 +57895,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59306,9 +57967,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -59409,15 +58067,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iosT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iosT_char_t_type}; @@ -59464,11 +58113,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ostream_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59540,9 +58185,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -59643,15 +58285,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_ostreamT_char_t_type}; @@ -59705,11 +58338,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_istream_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59781,9 +58410,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -59884,15 +58510,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_istreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_istreamT_char_t_type}; @@ -59933,11 +58550,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_iostream_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60009,9 +58622,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -60112,15 +58722,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iostreamT_char_t_type}; @@ -60182,11 +58783,7 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SwigPyIterator_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60258,9 +58855,6 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -60361,15 +58955,6 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__swig__SwigPyIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__swig__SwigPyIterator_type}; @@ -60441,11 +59026,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_UCharVector_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60517,9 +59098,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -60620,15 +59198,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_char_t_type}; @@ -60700,11 +59269,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorString_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60776,9 +59341,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -60879,15 +59441,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_std__string_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_std__string_t_type}; @@ -60959,11 +59512,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorInt_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61035,9 +59584,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -61138,15 +59684,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_int_t_type}; @@ -61218,11 +59755,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorUnsigned_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61294,9 +59827,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -61397,15 +59927,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_int_t_type}; @@ -61477,11 +59998,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorDouble_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61553,9 +60070,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -61656,15 +60170,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_double_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_double_t_type}; @@ -61736,11 +60241,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorUint64t_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61812,9 +60313,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -61915,27 +60413,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_uint64_t_t_type}; static SwigPyGetSet VectorMinimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_getset[] = { +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorMinimizer___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -61948,7 +60437,7 @@ SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare(PyObject *s return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_methods[] = { { "iterator", _wrap_VectorMinimizer_iterator, METH_NOARGS, "" }, { "__nonzero__", _wrap_VectorMinimizer___nonzero__, METH_NOARGS, "" }, { "__bool__", _wrap_VectorMinimizer___bool__, METH_NOARGS, "" }, @@ -61983,7 +60472,7 @@ SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_ { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -61995,11 +60484,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorMinimizer_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62008,30 +60493,30 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< btllib::Indexlr::Minimizer >", /* tp_doc */ + "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ _wrap_VectorMinimizer_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_methods,/* tp_methods */ + SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_getset,/* tp_getset */ + SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ @@ -62071,9 +60556,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -62174,18 +60656,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type}; static SwigPyGetSet VectorSpacedSeed___dict___getset = { SwigPyObject_get___dict__, 0 }; SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_getset[] = { @@ -62254,11 +60727,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorSpacedSeed_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62330,9 +60799,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -62433,27 +60899,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type}; -static SwigPyGetSet Indexlr___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Indexlr___dict___getset }, +static SwigPyGetSet BloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62466,24 +60923,23 @@ SwigPyBuiltin__btllib__Indexlr_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr_methods[] = { - { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, - { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, - { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, - { "output_qual", _wrap_Indexlr_output_qual, METH_NOARGS, "" }, - { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, - { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, - { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, - { "long_mode", _wrap_Indexlr_long_mode, METH_NOARGS, "" }, - { "read", _wrap_Indexlr_read, METH_NOARGS, "" }, - { "close", _wrap_Indexlr_close, METH_NOARGS, "" }, - { "__iter__", _wrap_Indexlr___iter__, METH_NOARGS, "" }, - { "__enter__", _wrap_Indexlr___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_Indexlr___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BloomFilter_methods[] = { + { "insert", _wrap_BloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_BloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_BloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_BloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_BloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_BloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_hash_num", _wrap_BloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_BloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_BloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_BloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_BloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, + { "check_file_signature", (PyCFunction)(void(*)(void))_wrap_BloomFilter_check_file_signature, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62491,15 +60947,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Indexlr", /* tp_name */ + "btllib.BloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62508,36 +60960,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr", /* tp_doc */ + "btllib::BloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__BloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_Indexlr___iter___getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr_methods, /* tp_methods */ + SwigPyBuiltin__btllib__BloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr_getset, /* tp_getset */ + SwigPyBuiltin__btllib__BloomFilter_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Indexlr, /* tp_init */ + _wrap_new_BloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62571,9 +61023,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -62674,27 +61123,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; -static SwigPyGetSet IndexlrFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Flag_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrFlag___dict___getset }, +static SwigPyGetSet KmerBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerBloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerBloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Flag_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62707,11 +61147,24 @@ SwigPyBuiltin__btllib__Indexlr__Flag_richcompare(PyObject *self, PyObject *other return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Flag_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerBloomFilter_methods[] = { + { "insert", _wrap_KmerBloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_KmerBloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerBloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerBloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerBloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_KmerBloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_hash_num", _wrap_KmerBloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerBloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_k", _wrap_KmerBloomFilter_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerBloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "get_bloom_filter", _wrap_KmerBloomFilter_get_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerBloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62719,15 +61172,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrFlag", /* tp_name */ + "btllib.KmerBloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62736,36 +61185,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::Flag", /* tp_doc */ + "btllib::KmerBloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Flag_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__KmerBloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Flag_methods, /* tp_methods */ + SwigPyBuiltin__btllib__KmerBloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Flag_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerBloomFilter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_IndexlrFlag, /* tp_init */ + _wrap_new_KmerBloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62799,9 +61248,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -62902,39 +61348,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; -static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; -static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; -static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; -static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; -static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; -static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Minimizer_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, - { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, - { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, - { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, - { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, - { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, +static SwigPyGetSet SeedBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedBloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedBloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62947,11 +61372,28 @@ SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare(PyObject *self, PyObject * return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Minimizer_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedBloomFilter_methods[] = { + { "insert", _wrap_SeedBloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_SeedBloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_SeedBloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_SeedBloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_SeedBloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_SeedBloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_total_hash_num", _wrap_SeedBloomFilter_get_total_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_SeedBloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_k", _wrap_SeedBloomFilter_get_k, METH_NOARGS, "" }, + { "get_seeds", _wrap_SeedBloomFilter_get_seeds, METH_NOARGS, "" }, + { "get_parsed_seeds", _wrap_SeedBloomFilter_get_parsed_seeds, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedBloomFilter_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedBloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_SeedBloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "get_kmer_bloom_filter", _wrap_SeedBloomFilter_get_kmer_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_SeedBloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_SeedBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62959,15 +61401,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Minimizer", /* tp_name */ + "btllib.SeedBloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62976,36 +61414,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::Minimizer", /* tp_doc */ + "btllib::SeedBloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeedBloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Minimizer_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeedBloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Minimizer_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeedBloomFilter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Minimizer, /* tp_init */ + _wrap_new_SeedBloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63039,9 +61477,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -63142,37 +61577,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; -static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; -static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; -static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; -static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; -static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Record_getset[] = { - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, - { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, - { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, - { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, +static SwigPyGetSet SeqReader___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReader___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63185,12 +61601,23 @@ SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Record_methods[] = { - { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader_methods[] = { + { "close", _wrap_SeqReader_close, METH_NOARGS, "" }, + { "fold_case", _wrap_SeqReader_fold_case, METH_NOARGS, "" }, + { "trim_masked", _wrap_SeqReader_trim_masked, METH_NOARGS, "" }, + { "short_mode", _wrap_SeqReader_short_mode, METH_NOARGS, "" }, + { "long_mode", _wrap_SeqReader_long_mode, METH_NOARGS, "" }, + { "get_format", _wrap_SeqReader_get_format, METH_NOARGS, "" }, + { "read", _wrap_SeqReader_read, METH_NOARGS, "" }, + { "__iter__", _wrap_SeqReader___iter__, METH_NOARGS, "" }, + { "get_buffer_size", _wrap_SeqReader_get_buffer_size, METH_NOARGS, "" }, + { "get_block_size", _wrap_SeqReader_get_block_size, METH_NOARGS, "" }, + { "__enter__", _wrap_SeqReader___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqReader___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63198,15 +61625,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrRecord", /* tp_name */ + "btllib.SeqReader", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63215,36 +61638,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::Record", /* tp_doc */ + "btllib::SeqReader", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Record_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_SeqReader___iter___getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Record_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqReader_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Record_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_IndexlrRecord, /* tp_init */ + _wrap_new_SeqReader, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63278,9 +61701,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -63296,7 +61716,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -63381,27 +61801,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Record_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; -static SwigPyGetSet IndexlrRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__RecordIterator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecordIterator___dict___getset }, +static SwigPyGetSet SeqReaderFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Flag_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderFlag___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63414,12 +61825,11 @@ SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare(PyObject *self, PyObj return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__RecordIterator_methods[] = { - { "__next__", _wrap_IndexlrRecordIterator___next__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Flag_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63427,15 +61837,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrRecordIterator", /* tp_name */ + "btllib.SeqReaderFlag", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrRecordIterator_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63444,36 +61850,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::RecordIterator", /* tp_doc */ + "btllib::SeqReader::Flag", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__Flag_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - _wrap_IndexlrRecordIterator___next___iternextfunc_closure, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__RecordIterator_methods, /* tp_methods */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqReader__Flag_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__RecordIterator_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__Flag_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ + _wrap_new_SeqReaderFlag, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63507,9 +61913,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -63610,27 +62013,28 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; -static SwigPyGetSet BloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BloomFilter___dict___getset }, +static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; +static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; +static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; +static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, + { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63643,23 +62047,12 @@ SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BloomFilter_methods[] = { - { "insert", _wrap_BloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_BloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_BloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_BloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_BloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_BloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_hash_num", _wrap_BloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_BloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_BloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_BloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_BloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, - { "check_file_signature", (PyCFunction)(void(*)(void))_wrap_BloomFilter_check_file_signature, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Record_methods[] = { + { "__nonzero__", _wrap_SeqReaderRecord___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63667,15 +62060,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.BloomFilter", /* tp_name */ + "btllib.SeqReaderRecord", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63684,36 +62073,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::BloomFilter", /* tp_doc */ + "btllib::SeqReader::Record", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__BloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__Record_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__BloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqReader__Record_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__BloomFilter_getset,/* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__Record_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_BloomFilter, /* tp_init */ + _wrap_new_SeqReaderRecord, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63747,9 +62136,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -63765,7 +62151,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_SeqReaderRecord___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -63850,27 +62236,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; -static SwigPyGetSet KmerBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerBloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerBloomFilter___dict___getset }, +static SwigPyGetSet SeqReaderRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecordIterator___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63883,24 +62260,12 @@ SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerBloomFilter_methods[] = { - { "insert", _wrap_KmerBloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_KmerBloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerBloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerBloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerBloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_KmerBloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_hash_num", _wrap_KmerBloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerBloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_k", _wrap_KmerBloomFilter_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerBloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "get_bloom_filter", _wrap_KmerBloomFilter_get_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerBloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods[] = { + { "__next__", _wrap_SeqReaderRecordIterator___next__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63908,15 +62273,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerBloomFilter", /* tp_name */ + "btllib.SeqReaderRecordIterator", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63925,36 +62286,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerBloomFilter", /* tp_doc */ + "btllib::SeqReader::RecordIterator", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerBloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerBloomFilter_methods, /* tp_methods */ + _wrap_SeqReaderRecordIterator___next___iternextfunc_closure, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerBloomFilter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerBloomFilter, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63988,9 +62349,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -64091,27 +62449,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; -static SwigPyGetSet SeedBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedBloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedBloomFilter___dict___getset }, +static SwigPyGetSet Barrier___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Barrier_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Barrier___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64124,28 +62473,12 @@ SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedBloomFilter_methods[] = { - { "insert", _wrap_SeedBloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_SeedBloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_SeedBloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_SeedBloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_SeedBloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_SeedBloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_total_hash_num", _wrap_SeedBloomFilter_get_total_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_SeedBloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_k", _wrap_SeedBloomFilter_get_k, METH_NOARGS, "" }, - { "get_seeds", _wrap_SeedBloomFilter_get_seeds, METH_NOARGS, "" }, - { "get_parsed_seeds", _wrap_SeedBloomFilter_get_parsed_seeds, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedBloomFilter_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedBloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_SeedBloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "get_kmer_bloom_filter", _wrap_SeedBloomFilter_get_kmer_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_SeedBloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_SeedBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Barrier_methods[] = { + { "wait", _wrap_Barrier_wait, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64153,15 +62486,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedBloomFilter", /* tp_name */ + "btllib.Barrier", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64170,36 +62499,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Barrier_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Barrier_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Barrier_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Barrier_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedBloomFilter", /* tp_doc */ + "btllib::Barrier", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedBloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Barrier_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedBloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Barrier_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedBloomFilter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Barrier_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedBloomFilter, /* tp_init */ + _wrap_new_Barrier, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64233,9 +62562,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -64336,27 +62662,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; -static SwigPyGetSet SeqReader___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReader___dict___getset }, +static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64369,23 +62686,15 @@ SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, in return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader_methods[] = { - { "close", _wrap_SeqReader_close, METH_NOARGS, "" }, - { "fold_case", _wrap_SeqReader_fold_case, METH_NOARGS, "" }, - { "trim_masked", _wrap_SeqReader_trim_masked, METH_NOARGS, "" }, - { "short_mode", _wrap_SeqReader_short_mode, METH_NOARGS, "" }, - { "long_mode", _wrap_SeqReader_long_mode, METH_NOARGS, "" }, - { "get_format", _wrap_SeqReader_get_format, METH_NOARGS, "" }, - { "read", _wrap_SeqReader_read, METH_NOARGS, "" }, - { "__iter__", _wrap_SeqReader___iter__, METH_NOARGS, "" }, - { "get_buffer_size", _wrap_SeqReader_get_buffer_size, METH_NOARGS, "" }, - { "get_block_size", _wrap_SeqReader_get_block_size, METH_NOARGS, "" }, - { "__enter__", _wrap_SeqReader___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqReader___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { + { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, + { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, + { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64393,15 +62702,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReader", /* tp_name */ + "btllib.SeqWriter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64410,36 +62715,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader", /* tp_doc */ + "btllib::SeqWriter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_SeqReader___iter___getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReader, /* tp_init */ + _wrap_new_SeqWriter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64473,9 +62778,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -64576,27 +62878,30 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; -static SwigPyGetSet SeqReaderFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Flag_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderFlag___dict___getset }, +static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; +static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; +static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; +static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; +static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { + { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, + { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, + { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, + { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, + { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, + { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64609,11 +62914,11 @@ SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Flag_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Datatype_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64621,15 +62926,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderFlag", /* tp_name */ + "btllib.Datatype", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64638,36 +62939,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Datatype_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Datatype_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Datatype_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Datatype_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::Flag", /* tp_doc */ + "btllib::Datatype", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__Flag_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Datatype_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__Flag_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Datatype_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__Flag_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Datatype_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReaderFlag, /* tp_init */ + _wrap_new_Datatype, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64701,9 +63002,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -64804,37 +63102,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; -static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; -static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; -static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; -static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; -static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, - { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, - { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, +static SwigPyGetSet DataSource___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSource_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSource___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64847,12 +63126,11 @@ SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Record_methods[] = { - { "__nonzero__", _wrap_SeqReaderRecord___nonzero__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSource_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64860,15 +63138,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderRecord", /* tp_name */ + "btllib.DataSource", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64877,36 +63151,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__DataSource_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__DataSource_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__DataSource_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__DataSource_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::Record", /* tp_doc */ + "btllib::DataSource", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__Record_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__DataSource_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__Record_methods, /* tp_methods */ + SwigPyBuiltin__btllib__DataSource_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__Record_getset, /* tp_getset */ + SwigPyBuiltin__btllib__DataSource_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReaderRecord, /* tp_init */ + _wrap_new_DataSource, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64940,9 +63214,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -64958,7 +63229,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_SeqReaderRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -65043,27 +63314,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; -static SwigPyGetSet SeqReaderRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecordIterator___dict___getset }, +static SwigPyGetSet DataSink___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSink_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSink___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65076,12 +63338,11 @@ SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods[] = { - { "__next__", _wrap_SeqReaderRecordIterator___next__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSink_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65089,15 +63350,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderRecordIterator", /* tp_name */ + "btllib.DataSink", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65106,36 +63363,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__DataSink_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__DataSink_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__DataSink_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__DataSink_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::RecordIterator", /* tp_doc */ + "btllib::DataSink", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__DataSink_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - _wrap_SeqReaderRecordIterator___next___iternextfunc_closure, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods, /* tp_methods */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__DataSink_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset, /* tp_getset */ + SwigPyBuiltin__btllib__DataSink_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ + _wrap_new_DataSink, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65169,9 +63426,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -65272,27 +63526,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; -static SwigPyGetSet Barrier___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Barrier_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Barrier___dict___getset }, +static SwigPyGetSet NtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__NtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &NtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65305,12 +63550,24 @@ SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Barrier_methods[] = { - { "wait", _wrap_Barrier_wait, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__NtHash_methods[] = { + { "roll", _wrap_NtHash_roll, METH_NOARGS, "" }, + { "roll_back", _wrap_NtHash_roll_back, METH_NOARGS, "" }, + { "peek", _wrap_NtHash_peek, METH_VARARGS, "" }, + { "peek_back", _wrap_NtHash_peek_back, METH_VARARGS, "" }, + { "sub", _wrap_NtHash_sub, METH_VARARGS, "" }, + { "hashes", _wrap_NtHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_NtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_NtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_NtHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_NtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_NtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_NtHash_get_reverse_hash, METH_NOARGS, "" }, + { "change_seq", _wrap_NtHash_change_seq, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65318,15 +63575,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Barrier", /* tp_name */ + "btllib.NtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65335,36 +63588,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Barrier_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Barrier_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Barrier_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__NtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__NtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__NtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Barrier_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__NtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Barrier", /* tp_doc */ + "btllib::NtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Barrier_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__NtHash_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Barrier_methods, /* tp_methods */ + SwigPyBuiltin__btllib__NtHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Barrier_getset, /* tp_getset */ + SwigPyBuiltin__btllib__NtHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Barrier, /* tp_init */ + _wrap_new_NtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65398,9 +63651,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -65501,27 +63751,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; -static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, +static SwigPyGetSet BlindNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BlindNtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BlindNtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65534,15 +63775,24 @@ SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, in return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { - { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, - { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, - { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BlindNtHash_methods[] = { + { "roll", _wrap_BlindNtHash_roll, METH_O, "" }, + { "roll_back", _wrap_BlindNtHash_roll_back, METH_O, "" }, + { "peek", _wrap_BlindNtHash_peek, METH_O, "" }, + { "peek_back", _wrap_BlindNtHash_peek_back, METH_O, "" }, + { "sub", _wrap_BlindNtHash_sub, METH_VARARGS, "" }, + { "hashes", _wrap_BlindNtHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_BlindNtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_BlindNtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_BlindNtHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_BlindNtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_BlindNtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_BlindNtHash_get_reverse_hash, METH_NOARGS, "" }, + { "change_seq", _wrap_BlindNtHash_change_seq, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65550,15 +63800,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqWriter", /* tp_name */ + "btllib.BlindNtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65567,36 +63813,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqWriter", /* tp_doc */ + "btllib::BlindNtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__BlindNtHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__BlindNtHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__BlindNtHash_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqWriter, /* tp_init */ + _wrap_new_BlindNtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65630,9 +63876,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -65733,39 +63976,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; -static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; -static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; -static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; -static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; -static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; -static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { - { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, - { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, - { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, - { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, - { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, - { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, +static SwigPyGetSet SeedNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedNtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedNtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65778,11 +64000,24 @@ SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Datatype_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedNtHash_methods[] = { + { "roll", _wrap_SeedNtHash_roll, METH_NOARGS, "" }, + { "roll_back", _wrap_SeedNtHash_roll_back, METH_NOARGS, "" }, + { "peek", _wrap_SeedNtHash_peek, METH_VARARGS, "" }, + { "peek_back", _wrap_SeedNtHash_peek_back, METH_VARARGS, "" }, + { "hashes", _wrap_SeedNtHash_hashes, METH_NOARGS, "" }, + { "change_seq", _wrap_SeedNtHash_change_seq, METH_VARARGS, "" }, + { "get_pos", _wrap_SeedNtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_SeedNtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedNtHash_get_hash_num, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedNtHash_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_k", _wrap_SeedNtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_SeedNtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_SeedNtHash_get_reverse_hash, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65790,15 +64025,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Datatype", /* tp_name */ + "btllib.SeedNtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65807,36 +64038,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Datatype_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Datatype_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Datatype_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Datatype_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Datatype", /* tp_doc */ + "btllib::SeedNtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Datatype_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeedNtHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Datatype_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeedNtHash_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Datatype_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeedNtHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Datatype, /* tp_init */ + _wrap_new_SeedNtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65870,9 +64101,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -65973,27 +64201,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedNtHash_type}; -static SwigPyGetSet DataSource___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSource_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSource___dict___getset }, +static SwigPyGetSet RandSeq___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__RandSeq_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &RandSeq___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__RandSeq_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66006,11 +64225,13 @@ SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSource_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__RandSeq_methods[] = { + { "set_seed", _wrap_RandSeq_set_seed, METH_O, "" }, + { "generate", _wrap_RandSeq_generate, METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66018,15 +64239,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.DataSource", /* tp_name */ + "btllib.RandSeq", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_RandSeq_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66035,36 +64252,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__DataSource_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__DataSource_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__DataSource_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__RandSeq_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__RandSeq_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__RandSeq_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__DataSource_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__RandSeq_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::DataSource", /* tp_doc */ + "btllib::RandSeq", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__DataSource_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__RandSeq_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__DataSource_methods,/* tp_methods */ + SwigPyBuiltin__btllib__RandSeq_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__DataSource_getset, /* tp_getset */ + SwigPyBuiltin__btllib__RandSeq_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_DataSource, /* tp_init */ + _wrap_new_RandSeq, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66098,9 +64315,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -66201,27 +64415,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandSeq_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandSeq_type}; -static SwigPyGetSet DataSink___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSink_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSink___dict___getset }, +static SwigPyGetSet AAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__AAHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &AAHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__AAHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66234,11 +64439,20 @@ SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSink_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__AAHash_methods[] = { + { "roll", _wrap_AAHash_roll, METH_NOARGS, "" }, + { "hashes", _wrap_AAHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_AAHash_get_pos, METH_NOARGS, "" }, + { "get_hash_num", _wrap_AAHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_AAHash_get_k, METH_NOARGS, "" }, + { "forward", _wrap_AAHash_forward, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_AAHash_get_forward_hash, METH_NOARGS, "" }, + { "get_level", _wrap_AAHash_get_level, METH_NOARGS, "" }, + { "get_seq", _wrap_AAHash_get_seq, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66246,15 +64460,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.DataSink", /* tp_name */ + "btllib.AAHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_AAHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66263,36 +64473,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__DataSink_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__DataSink_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__DataSink_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__AAHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__AAHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__AAHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__DataSink_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__AAHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::DataSink", /* tp_doc */ + "btllib::AAHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__DataSink_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__AAHash_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__DataSink_methods, /* tp_methods */ + SwigPyBuiltin__btllib__AAHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__DataSink_getset, /* tp_getset */ + SwigPyBuiltin__btllib__AAHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_DataSink, /* tp_init */ + _wrap_new_AAHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66326,9 +64536,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -66429,27 +64636,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__AAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__AAHash_type}; -static SwigPyGetSet NtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__NtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &NtHash___dict___getset }, +static SwigPyGetSet SeedAAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedAAHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedAAHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedAAHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66462,24 +64660,17 @@ SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__NtHash_methods[] = { - { "roll", _wrap_NtHash_roll, METH_NOARGS, "" }, - { "roll_back", _wrap_NtHash_roll_back, METH_NOARGS, "" }, - { "peek", _wrap_NtHash_peek, METH_VARARGS, "" }, - { "peek_back", _wrap_NtHash_peek_back, METH_VARARGS, "" }, - { "sub", _wrap_NtHash_sub, METH_VARARGS, "" }, - { "hashes", _wrap_NtHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_NtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_NtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_NtHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_NtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_NtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_NtHash_get_reverse_hash, METH_NOARGS, "" }, - { "change_seq", _wrap_NtHash_change_seq, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedAAHash_methods[] = { + { "roll", _wrap_SeedAAHash_roll, METH_NOARGS, "" }, + { "hashes", _wrap_SeedAAHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_SeedAAHash_get_pos, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedAAHash_get_hash_num, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedAAHash_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_k", _wrap_SeedAAHash_get_k, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66487,15 +64678,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.NtHash", /* tp_name */ + "btllib.SeedAAHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeedAAHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66504,36 +64691,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__NtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__NtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__NtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__NtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::NtHash", /* tp_doc */ + "btllib::SeedAAHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__NtHash_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__SeedAAHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__NtHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeedAAHash_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__NtHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeedAAHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_NtHash, /* tp_init */ + _wrap_new_SeedAAHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66567,9 +64754,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -66670,27 +64854,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedAAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedAAHash_type}; -static SwigPyGetSet BlindNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BlindNtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BlindNtHash___dict___getset }, +static SwigPyGetSet CountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter8___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66703,24 +64878,27 @@ SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BlindNtHash_methods[] = { - { "roll", _wrap_BlindNtHash_roll, METH_O, "" }, - { "roll_back", _wrap_BlindNtHash_roll_back, METH_O, "" }, - { "peek", _wrap_BlindNtHash_peek, METH_O, "" }, - { "peek_back", _wrap_BlindNtHash_peek_back, METH_O, "" }, - { "sub", _wrap_BlindNtHash_sub, METH_VARARGS, "" }, - { "hashes", _wrap_BlindNtHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_BlindNtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_BlindNtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_BlindNtHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_BlindNtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_BlindNtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_BlindNtHash_get_reverse_hash, METH_NOARGS, "" }, - { "change_seq", _wrap_BlindNtHash_change_seq, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods[] = { + { "insert", _wrap_CountingBloomFilter8_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter8_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter8_clear, METH_VARARGS, "" }, + { "contains", _wrap_CountingBloomFilter8_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_CountingBloomFilter8_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_CountingBloomFilter8_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_CountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_CountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_CountingBloomFilter8_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_CountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_CountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_CountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_CountingBloomFilter8_get_fpr, METH_VARARGS, "" }, + { "get_hash_fn", _wrap_CountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_CountingBloomFilter8_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66728,15 +64906,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.BlindNtHash", /* tp_name */ + "btllib.CountingBloomFilter8", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66745,36 +64919,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::BlindNtHash", /* tp_doc */ + "btllib::CountingBloomFilter< uint8_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__BlindNtHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__BlindNtHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__BlindNtHash_getset,/* tp_getset */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_BlindNtHash, /* tp_init */ + _wrap_new_CountingBloomFilter8, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66808,9 +64982,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -66911,27 +65082,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; -static SwigPyGetSet SeedNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedNtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedNtHash___dict___getset }, +static SwigPyGetSet CountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter16___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66944,24 +65106,27 @@ SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedNtHash_methods[] = { - { "roll", _wrap_SeedNtHash_roll, METH_NOARGS, "" }, - { "roll_back", _wrap_SeedNtHash_roll_back, METH_NOARGS, "" }, - { "peek", _wrap_SeedNtHash_peek, METH_VARARGS, "" }, - { "peek_back", _wrap_SeedNtHash_peek_back, METH_VARARGS, "" }, - { "hashes", _wrap_SeedNtHash_hashes, METH_NOARGS, "" }, - { "change_seq", _wrap_SeedNtHash_change_seq, METH_VARARGS, "" }, - { "get_pos", _wrap_SeedNtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_SeedNtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedNtHash_get_hash_num, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedNtHash_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_k", _wrap_SeedNtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_SeedNtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_SeedNtHash_get_reverse_hash, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods[] = { + { "insert", _wrap_CountingBloomFilter16_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter16_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter16_clear, METH_VARARGS, "" }, + { "contains", _wrap_CountingBloomFilter16_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_CountingBloomFilter16_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_CountingBloomFilter16_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_CountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_CountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_CountingBloomFilter16_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_CountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_CountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_CountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_CountingBloomFilter16_get_fpr, METH_VARARGS, "" }, + { "get_hash_fn", _wrap_CountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_CountingBloomFilter16_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66969,15 +65134,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedNtHash", /* tp_name */ + "btllib.CountingBloomFilter16", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66986,36 +65147,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedNtHash", /* tp_doc */ + "btllib::CountingBloomFilter< uint16_t >",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedNtHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedNtHash_methods,/* tp_methods */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedNtHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedNtHash, /* tp_init */ + _wrap_new_CountingBloomFilter16, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67049,9 +65210,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -67152,27 +65310,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedNtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; -static SwigPyGetSet RandSeq___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__RandSeq_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &RandSeq___dict___getset }, +static SwigPyGetSet CountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter32___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__RandSeq_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67185,13 +65334,27 @@ SwigPyBuiltin__btllib__RandSeq_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__RandSeq_methods[] = { - { "set_seed", _wrap_RandSeq_set_seed, METH_O, "" }, - { "generate", _wrap_RandSeq_generate, METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods[] = { + { "insert", _wrap_CountingBloomFilter32_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter32_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter32_clear, METH_VARARGS, "" }, + { "contains", _wrap_CountingBloomFilter32_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_CountingBloomFilter32_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_CountingBloomFilter32_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_CountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_CountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_CountingBloomFilter32_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_CountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_CountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_CountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_CountingBloomFilter32_get_fpr, METH_VARARGS, "" }, + { "get_hash_fn", _wrap_CountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_CountingBloomFilter32_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67199,15 +65362,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.RandSeq", /* tp_name */ + "btllib.CountingBloomFilter32", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_RandSeq_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67216,36 +65375,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__RandSeq_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__RandSeq_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__RandSeq_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__RandSeq_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::RandSeq", /* tp_doc */ + "btllib::CountingBloomFilter< uint32_t >",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__RandSeq_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__RandSeq_methods, /* tp_methods */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__RandSeq_getset, /* tp_getset */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_RandSeq, /* tp_init */ + _wrap_new_CountingBloomFilter32, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67279,9 +65438,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -67382,27 +65538,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandSeq_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandSeq_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; -static SwigPyGetSet AAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__AAHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &AAHash___dict___getset }, +static SwigPyGetSet KmerCountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter8___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__AAHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67415,19 +65562,29 @@ SwigPyBuiltin__btllib__AAHash_richcompare(PyObject *self, PyObject *other, int o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__AAHash_methods[] = { - { "roll", _wrap_AAHash_roll, METH_NOARGS, "" }, - { "hashes", _wrap_AAHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_AAHash_get_pos, METH_NOARGS, "" }, - { "get_hash_num", _wrap_AAHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_AAHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_AAHash_get_forward_hash, METH_NOARGS, "" }, - { "get_level", _wrap_AAHash_get_level, METH_NOARGS, "" }, - { "get_seq", _wrap_AAHash_get_seq, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods[] = { + { "insert", _wrap_KmerCountingBloomFilter8_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter8_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter8_clear, METH_VARARGS, "" }, + { "contains", _wrap_KmerCountingBloomFilter8_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerCountingBloomFilter8_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_KmerCountingBloomFilter8_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_KmerCountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_KmerCountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerCountingBloomFilter8_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerCountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_KmerCountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_KmerCountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerCountingBloomFilter8_get_fpr, METH_VARARGS, "" }, + { "get_k", _wrap_KmerCountingBloomFilter8_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerCountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, + { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter8_get_counting_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerCountingBloomFilter8_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67435,15 +65592,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.AAHash", /* tp_name */ + "btllib.KmerCountingBloomFilter8", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_AAHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67452,36 +65605,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__AAHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__AAHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__AAHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__AAHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::AAHash", /* tp_doc */ + "btllib::KmerCountingBloomFilter< uint8_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__AAHash_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__AAHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__AAHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_AAHash, /* tp_init */ + _wrap_new_KmerCountingBloomFilter8, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67515,9 +65668,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -67618,27 +65768,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__AAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__AAHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; -static SwigPyGetSet SeedAAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedAAHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedAAHash___dict___getset }, +static SwigPyGetSet KmerCountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter16___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedAAHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67651,17 +65792,29 @@ SwigPyBuiltin__btllib__SeedAAHash_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedAAHash_methods[] = { - { "roll", _wrap_SeedAAHash_roll, METH_NOARGS, "" }, - { "hashes", _wrap_SeedAAHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_SeedAAHash_get_pos, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedAAHash_get_hash_num, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedAAHash_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_k", _wrap_SeedAAHash_get_k, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods[] = { + { "insert", _wrap_KmerCountingBloomFilter16_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter16_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter16_clear, METH_VARARGS, "" }, + { "contains", _wrap_KmerCountingBloomFilter16_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerCountingBloomFilter16_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_KmerCountingBloomFilter16_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_KmerCountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_KmerCountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerCountingBloomFilter16_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerCountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_KmerCountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_KmerCountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerCountingBloomFilter16_get_fpr, METH_VARARGS, "" }, + { "get_k", _wrap_KmerCountingBloomFilter16_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerCountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, + { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter16_get_counting_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerCountingBloomFilter16_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67669,15 +65822,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedAAHash", /* tp_name */ + "btllib.KmerCountingBloomFilter16", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedAAHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67686,36 +65835,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedAAHash", /* tp_doc */ + "btllib::KmerCountingBloomFilter< uint16_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedAAHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedAAHash_methods,/* tp_methods */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedAAHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedAAHash, /* tp_init */ + _wrap_new_KmerCountingBloomFilter16, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67749,9 +65898,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -67852,27 +65998,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedAAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedAAHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; -static SwigPyGetSet CountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter8___dict___getset }, +static SwigPyGetSet KmerCountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter32___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67885,27 +66022,29 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods[] = { - { "insert", _wrap_CountingBloomFilter8_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter8_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter8_clear, METH_VARARGS, "" }, - { "contains", _wrap_CountingBloomFilter8_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_CountingBloomFilter8_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_CountingBloomFilter8_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_CountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_CountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_CountingBloomFilter8_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_CountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_CountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_CountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_CountingBloomFilter8_get_fpr, METH_VARARGS, "" }, - { "get_hash_fn", _wrap_CountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_CountingBloomFilter8_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods[] = { + { "insert", _wrap_KmerCountingBloomFilter32_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter32_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter32_clear, METH_VARARGS, "" }, + { "contains", _wrap_KmerCountingBloomFilter32_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerCountingBloomFilter32_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_KmerCountingBloomFilter32_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_KmerCountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_KmerCountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerCountingBloomFilter32_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerCountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_KmerCountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_KmerCountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerCountingBloomFilter32_get_fpr, METH_VARARGS, "" }, + { "get_k", _wrap_KmerCountingBloomFilter32_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerCountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, + { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter32_get_counting_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerCountingBloomFilter32_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67913,15 +66052,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.CountingBloomFilter8", /* tp_name */ + "btllib.KmerCountingBloomFilter32", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67930,36 +66065,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::CountingBloomFilter< uint8_t >", /* tp_doc */ + "btllib::KmerCountingBloomFilter< uint32_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_CountingBloomFilter8, /* tp_init */ + _wrap_new_KmerCountingBloomFilter32, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67993,9 +66128,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -68096,27 +66228,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; -static SwigPyGetSet CountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter16___dict___getset }, +static SwigPyGetSet MIBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter8___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -68129,27 +66252,26 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *sel return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods[] = { - { "insert", _wrap_CountingBloomFilter16_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter16_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter16_clear, METH_VARARGS, "" }, - { "contains", _wrap_CountingBloomFilter16_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_CountingBloomFilter16_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_CountingBloomFilter16_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_CountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_CountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_CountingBloomFilter16_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_CountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_CountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_CountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_CountingBloomFilter16_get_fpr, METH_VARARGS, "" }, - { "get_hash_fn", _wrap_CountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_CountingBloomFilter16_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods[] = { + { "complete_bv_insertion", _wrap_MIBloomFilter8_complete_bv_insertion, METH_NOARGS, "" }, + { "complete_id_insertion", _wrap_MIBloomFilter8_complete_id_insertion, METH_NOARGS, "" }, + { "insert_bv", _wrap_MIBloomFilter8_insert_bv, METH_VARARGS, "" }, + { "bv_contains", _wrap_MIBloomFilter8_bv_contains, METH_VARARGS, "" }, + { "insert_id", _wrap_MIBloomFilter8_insert_id, METH_VARARGS, "" }, + { "get_id", _wrap_MIBloomFilter8_get_id, METH_VARARGS, "" }, + { "insert_saturation", _wrap_MIBloomFilter8_insert_saturation, METH_VARARGS, "" }, + { "save", _wrap_MIBloomFilter8_save, METH_O, "" }, + { "get_pop_cnt", _wrap_MIBloomFilter8_get_pop_cnt, METH_NOARGS, "" }, + { "get_pop_saturated_cnt", _wrap_MIBloomFilter8_get_pop_saturated_cnt, METH_NOARGS, "" }, + { "get_hash_num", _wrap_MIBloomFilter8_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_MIBloomFilter8_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_MIBloomFilter8_get_hash_fn, METH_NOARGS, "" }, + { "get_id_occurence_count", _wrap_MIBloomFilter8_get_id_occurence_count, METH_O, "" }, + { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter8_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -68157,15 +66279,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.CountingBloomFilter16", /* tp_name */ + "btllib.MIBloomFilter8", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_MIBloomFilter8_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -68174,36 +66292,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::CountingBloomFilter< uint16_t >",/* tp_doc */ + "btllib::MIBloomFilter< uint8_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_CountingBloomFilter16, /* tp_init */ + _wrap_new_MIBloomFilter8, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -68237,9 +66355,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -68340,27 +66455,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type}; -static SwigPyGetSet CountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter32___dict___getset }, +static SwigPyGetSet MIBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter16___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -68373,27 +66479,26 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *sel return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods[] = { - { "insert", _wrap_CountingBloomFilter32_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter32_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter32_clear, METH_VARARGS, "" }, - { "contains", _wrap_CountingBloomFilter32_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_CountingBloomFilter32_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_CountingBloomFilter32_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_CountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_CountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_CountingBloomFilter32_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_CountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_CountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_CountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_CountingBloomFilter32_get_fpr, METH_VARARGS, "" }, - { "get_hash_fn", _wrap_CountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_CountingBloomFilter32_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods[] = { + { "complete_bv_insertion", _wrap_MIBloomFilter16_complete_bv_insertion, METH_NOARGS, "" }, + { "complete_id_insertion", _wrap_MIBloomFilter16_complete_id_insertion, METH_NOARGS, "" }, + { "insert_bv", _wrap_MIBloomFilter16_insert_bv, METH_VARARGS, "" }, + { "bv_contains", _wrap_MIBloomFilter16_bv_contains, METH_VARARGS, "" }, + { "insert_id", _wrap_MIBloomFilter16_insert_id, METH_VARARGS, "" }, + { "get_id", _wrap_MIBloomFilter16_get_id, METH_VARARGS, "" }, + { "insert_saturation", _wrap_MIBloomFilter16_insert_saturation, METH_VARARGS, "" }, + { "save", _wrap_MIBloomFilter16_save, METH_O, "" }, + { "get_pop_cnt", _wrap_MIBloomFilter16_get_pop_cnt, METH_NOARGS, "" }, + { "get_pop_saturated_cnt", _wrap_MIBloomFilter16_get_pop_saturated_cnt, METH_NOARGS, "" }, + { "get_hash_num", _wrap_MIBloomFilter16_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_MIBloomFilter16_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_MIBloomFilter16_get_hash_fn, METH_NOARGS, "" }, + { "get_id_occurence_count", _wrap_MIBloomFilter16_get_id_occurence_count, METH_O, "" }, + { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter16_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -68401,15 +66506,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.CountingBloomFilter32", /* tp_name */ + "btllib.MIBloomFilter16", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_MIBloomFilter16_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -68418,36 +66519,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::CountingBloomFilter< uint32_t >",/* tp_doc */ + "btllib::MIBloomFilter< uint16_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_CountingBloomFilter32, /* tp_init */ + _wrap_new_MIBloomFilter16, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -68481,9 +66582,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -68584,27 +66682,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type}; -static SwigPyGetSet KmerCountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter8___dict___getset }, +static SwigPyGetSet MIBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter32___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -68617,29 +66706,26 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject * return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods[] = { - { "insert", _wrap_KmerCountingBloomFilter8_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter8_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter8_clear, METH_VARARGS, "" }, - { "contains", _wrap_KmerCountingBloomFilter8_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerCountingBloomFilter8_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_KmerCountingBloomFilter8_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_KmerCountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_KmerCountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerCountingBloomFilter8_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerCountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_KmerCountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_KmerCountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerCountingBloomFilter8_get_fpr, METH_VARARGS, "" }, - { "get_k", _wrap_KmerCountingBloomFilter8_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerCountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, - { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter8_get_counting_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerCountingBloomFilter8_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods[] = { + { "complete_bv_insertion", _wrap_MIBloomFilter32_complete_bv_insertion, METH_NOARGS, "" }, + { "complete_id_insertion", _wrap_MIBloomFilter32_complete_id_insertion, METH_NOARGS, "" }, + { "insert_bv", _wrap_MIBloomFilter32_insert_bv, METH_VARARGS, "" }, + { "bv_contains", _wrap_MIBloomFilter32_bv_contains, METH_VARARGS, "" }, + { "insert_id", _wrap_MIBloomFilter32_insert_id, METH_VARARGS, "" }, + { "get_id", _wrap_MIBloomFilter32_get_id, METH_VARARGS, "" }, + { "insert_saturation", _wrap_MIBloomFilter32_insert_saturation, METH_VARARGS, "" }, + { "save", _wrap_MIBloomFilter32_save, METH_O, "" }, + { "get_pop_cnt", _wrap_MIBloomFilter32_get_pop_cnt, METH_NOARGS, "" }, + { "get_pop_saturated_cnt", _wrap_MIBloomFilter32_get_pop_saturated_cnt, METH_NOARGS, "" }, + { "get_hash_num", _wrap_MIBloomFilter32_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_MIBloomFilter32_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_MIBloomFilter32_get_hash_fn, METH_NOARGS, "" }, + { "get_id_occurence_count", _wrap_MIBloomFilter32_get_id_occurence_count, METH_O, "" }, + { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter32_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -68647,15 +66733,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerCountingBloomFilter8", /* tp_name */ + "btllib.MIBloomFilter32", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_MIBloomFilter32_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -68664,36 +66746,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerCountingBloomFilter< uint8_t >", /* tp_doc */ + "btllib::MIBloomFilter< uint32_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerCountingBloomFilter8, /* tp_init */ + _wrap_new_MIBloomFilter32, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -68727,9 +66809,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -68830,27 +66909,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type}; -static SwigPyGetSet KmerCountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter16___dict___getset }, +static SwigPyGetSet Indexlr___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Indexlr___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -68863,29 +66933,24 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods[] = { - { "insert", _wrap_KmerCountingBloomFilter16_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter16_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter16_clear, METH_VARARGS, "" }, - { "contains", _wrap_KmerCountingBloomFilter16_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerCountingBloomFilter16_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_KmerCountingBloomFilter16_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_KmerCountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_KmerCountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerCountingBloomFilter16_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerCountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_KmerCountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_KmerCountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerCountingBloomFilter16_get_fpr, METH_VARARGS, "" }, - { "get_k", _wrap_KmerCountingBloomFilter16_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerCountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, - { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter16_get_counting_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerCountingBloomFilter16_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_methods[] = { + { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, + { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, + { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, + { "output_qual", _wrap_Indexlr_output_qual, METH_NOARGS, "" }, + { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, + { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, + { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, + { "long_mode", _wrap_Indexlr_long_mode, METH_NOARGS, "" }, + { "read", _wrap_Indexlr_read, METH_NOARGS, "" }, + { "close", _wrap_Indexlr_close, METH_NOARGS, "" }, + { "__iter__", _wrap_Indexlr___iter__, METH_NOARGS, "" }, + { "__enter__", _wrap_Indexlr___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_Indexlr___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -68893,15 +66958,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerCountingBloomFilter16", /* tp_name */ + "btllib.Indexlr", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -68910,36 +66971,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerCountingBloomFilter< uint16_t >", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_Indexlr___iter___getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerCountingBloomFilter16, /* tp_init */ + _wrap_new_Indexlr, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -68973,9 +67034,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -69076,27 +67134,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type}; -static SwigPyGetSet KmerCountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter32___dict___getset }, +static SwigPyGetSet IndexlrFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrFlag___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -69109,29 +67158,11 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods[] = { - { "insert", _wrap_KmerCountingBloomFilter32_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter32_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter32_clear, METH_VARARGS, "" }, - { "contains", _wrap_KmerCountingBloomFilter32_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerCountingBloomFilter32_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_KmerCountingBloomFilter32_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_KmerCountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_KmerCountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerCountingBloomFilter32_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerCountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_KmerCountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_KmerCountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerCountingBloomFilter32_get_fpr, METH_VARARGS, "" }, - { "get_k", _wrap_KmerCountingBloomFilter32_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerCountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, - { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter32_get_counting_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerCountingBloomFilter32_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -69139,15 +67170,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerCountingBloomFilter32", /* tp_name */ + "btllib.IndexlrFlag", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -69156,36 +67183,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerCountingBloomFilter< uint32_t >", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >::Flag",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerCountingBloomFilter32, /* tp_init */ + _wrap_new_IndexlrFlag, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -69219,9 +67246,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -69322,27 +67346,30 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type}; -static SwigPyGetSet MIBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter8___dict___getset }, +static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; +static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; +static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; +static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; +static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; +static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_getset[] = { + { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, + { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, + { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, + { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, + { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -69355,26 +67382,11 @@ SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyOb return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods[] = { - { "complete_bv_insertion", _wrap_MIBloomFilter8_complete_bv_insertion, METH_NOARGS, "" }, - { "complete_id_insertion", _wrap_MIBloomFilter8_complete_id_insertion, METH_NOARGS, "" }, - { "insert_bv", _wrap_MIBloomFilter8_insert_bv, METH_VARARGS, "" }, - { "bv_contains", _wrap_MIBloomFilter8_bv_contains, METH_VARARGS, "" }, - { "insert_id", _wrap_MIBloomFilter8_insert_id, METH_VARARGS, "" }, - { "get_id", _wrap_MIBloomFilter8_get_id, METH_VARARGS, "" }, - { "insert_saturation", _wrap_MIBloomFilter8_insert_saturation, METH_VARARGS, "" }, - { "save", _wrap_MIBloomFilter8_save, METH_O, "" }, - { "get_pop_cnt", _wrap_MIBloomFilter8_get_pop_cnt, METH_NOARGS, "" }, - { "get_pop_saturated_cnt", _wrap_MIBloomFilter8_get_pop_saturated_cnt, METH_NOARGS, "" }, - { "get_hash_num", _wrap_MIBloomFilter8_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_MIBloomFilter8_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_MIBloomFilter8_get_hash_fn, METH_NOARGS, "" }, - { "get_id_occurence_count", _wrap_MIBloomFilter8_get_id_occurence_count, METH_O, "" }, - { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter8_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -69382,15 +67394,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.MIBloomFilter8", /* tp_name */ + "btllib.Minimizer", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_MIBloomFilter8_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -69399,36 +67407,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::MIBloomFilter< uint8_t >", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >::Minimizer", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods, /* tp_methods */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_MIBloomFilter8, /* tp_init */ + _wrap_new_Minimizer, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -69462,9 +67470,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -69565,27 +67570,28 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type}; -static SwigPyGetSet MIBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter16___dict___getset }, +static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; +static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; +static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; +static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; +static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_getset[] = { + { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, + { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, + { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -69598,26 +67604,12 @@ SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods[] = { - { "complete_bv_insertion", _wrap_MIBloomFilter16_complete_bv_insertion, METH_NOARGS, "" }, - { "complete_id_insertion", _wrap_MIBloomFilter16_complete_id_insertion, METH_NOARGS, "" }, - { "insert_bv", _wrap_MIBloomFilter16_insert_bv, METH_VARARGS, "" }, - { "bv_contains", _wrap_MIBloomFilter16_bv_contains, METH_VARARGS, "" }, - { "insert_id", _wrap_MIBloomFilter16_insert_id, METH_VARARGS, "" }, - { "get_id", _wrap_MIBloomFilter16_get_id, METH_VARARGS, "" }, - { "insert_saturation", _wrap_MIBloomFilter16_insert_saturation, METH_VARARGS, "" }, - { "save", _wrap_MIBloomFilter16_save, METH_O, "" }, - { "get_pop_cnt", _wrap_MIBloomFilter16_get_pop_cnt, METH_NOARGS, "" }, - { "get_pop_saturated_cnt", _wrap_MIBloomFilter16_get_pop_saturated_cnt, METH_NOARGS, "" }, - { "get_hash_num", _wrap_MIBloomFilter16_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_MIBloomFilter16_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_MIBloomFilter16_get_hash_fn, METH_NOARGS, "" }, - { "get_id_occurence_count", _wrap_MIBloomFilter16_get_id_occurence_count, METH_O, "" }, - { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter16_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_methods[] = { + { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -69625,15 +67617,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.MIBloomFilter16", /* tp_name */ + "btllib.IndexlrRecord", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_MIBloomFilter16_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -69642,36 +67630,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::MIBloomFilter< uint16_t >", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >::Record", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods, /* tp_methods */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_MIBloomFilter16, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -69705,9 +67693,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -69723,7 +67708,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -69808,27 +67793,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type}; -static SwigPyGetSet MIBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter32___dict___getset }, +static SwigPyGetSet IndexlrRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecordIterator___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -69841,26 +67817,12 @@ SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods[] = { - { "complete_bv_insertion", _wrap_MIBloomFilter32_complete_bv_insertion, METH_NOARGS, "" }, - { "complete_id_insertion", _wrap_MIBloomFilter32_complete_id_insertion, METH_NOARGS, "" }, - { "insert_bv", _wrap_MIBloomFilter32_insert_bv, METH_VARARGS, "" }, - { "bv_contains", _wrap_MIBloomFilter32_bv_contains, METH_VARARGS, "" }, - { "insert_id", _wrap_MIBloomFilter32_insert_id, METH_VARARGS, "" }, - { "get_id", _wrap_MIBloomFilter32_get_id, METH_VARARGS, "" }, - { "insert_saturation", _wrap_MIBloomFilter32_insert_saturation, METH_VARARGS, "" }, - { "save", _wrap_MIBloomFilter32_save, METH_O, "" }, - { "get_pop_cnt", _wrap_MIBloomFilter32_get_pop_cnt, METH_NOARGS, "" }, - { "get_pop_saturated_cnt", _wrap_MIBloomFilter32_get_pop_saturated_cnt, METH_NOARGS, "" }, - { "get_hash_num", _wrap_MIBloomFilter32_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_MIBloomFilter32_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_MIBloomFilter32_get_hash_fn, METH_NOARGS, "" }, - { "get_id_occurence_count", _wrap_MIBloomFilter32_get_id_occurence_count, METH_O, "" }, - { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter32_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_methods[] = { + { "__next__", _wrap_IndexlrRecordIterator___next__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -69868,15 +67830,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.MIBloomFilter32", /* tp_name */ + "btllib.IndexlrRecordIterator", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_MIBloomFilter32_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_IndexlrRecordIterator_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ -#else - (Py_ssize_t) 0, /* tp_vectorcall_offset */ -#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -69885,36 +67843,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::MIBloomFilter< uint32_t >", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >::RecordIterator", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods, /* tp_methods */ + _wrap_IndexlrRecordIterator___next___iternextfunc_closure, /* tp_iternext */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_MIBloomFilter32, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -69948,9 +67906,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -70051,63 +68006,57 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type}; /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ +static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); +} +static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); +} static void *_p_btllib__DataSinkTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSink *) x)); } static void *_p_btllib__DataSourceTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSource *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); +static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); } static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); @@ -70115,17 +68064,14 @@ static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ba static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } static swig_type_info _swigt__p_HashedKmer = {"_p_HashedKmer", "HashedKmer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_SwigPyObject = {"_p_SwigPyObject", "SwigPyObject *", 0, 0, (void*)0, 0}; @@ -70136,25 +68082,25 @@ static swig_type_info _swigt__p_btllib__Barrier = {"_p_btllib__Barrier", "btllib static swig_type_info _swigt__p_btllib__BlindNtHash = {"_p_btllib__BlindNtHash", "btllib::BlindNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__BlindNtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__BloomFilter = {"_p_btllib__BloomFilter", "btllib::BloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__BloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__CString = {"_p_btllib__CString", "btllib::CString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *|btllib::CountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter< unsigned char > *|btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_int_t = {"_p_btllib__CountingBloomFilterT_unsigned_int_t", "btllib::CountingBloomFilter32 *|btllib::CountingBloomFilter< uint32_t > *|btllib::CountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *|btllib::CountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter< unsigned short > *|btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSink = {"_p_btllib__DataSink", "btllib::DataSink *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSink_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSource = {"_p_btllib__DataSource", "btllib::DataSource *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSource_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataStream = {"_p_btllib__DataStream", "btllib::DataStream *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_btllib__Datatype = {"_p_btllib__Datatype", "btllib::Datatype *", 0, 0, (void*)&SwigPyBuiltin__btllib__Datatype_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr = {"_p_btllib__Indexlr", "btllib::Indexlr *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr__Flag = {"_p_btllib__Indexlr__Flag", "btllib::Indexlr::Flag *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Flag_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr__Minimizer = {"_p_btllib__Indexlr__Minimizer", "std::vector< btllib::Indexlr::Minimizer >::value_type *|btllib::Indexlr::Minimizer *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr__Record = {"_p_btllib__Indexlr__Record", "btllib::Indexlr::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Record_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr__RecordIterator = {"_p_btllib__Indexlr__RecordIterator", "btllib::Indexlr::RecordIterator *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata, 0}; +static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t = {"_p_btllib__IndexlrT_btllib__NtHash_t", "btllib::Indexlr< btllib::NtHash > *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag = {"_p_btllib__IndexlrT_btllib__NtHash_t__Flag", "btllib::Indexlr< btllib::NtHash >::Flag *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata, 0}; +static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer = {"_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer", "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *|btllib::Indexlr< btllib::NtHash >::Minimizer *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_clientdata, 0}; +static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Record = {"_p_btllib__IndexlrT_btllib__NtHash_t__Record", "btllib::Indexlr< btllib::NtHash >::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_clientdata, 0}; +static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator = {"_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator", "btllib::Indexlr< btllib::NtHash >::RecordIterator *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerBloomFilter = {"_p_btllib__KmerBloomFilter", "btllib::KmerBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerBloomFilter_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *|btllib::KmerCountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter< unsigned char > *|btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_int_t", "btllib::KmerCountingBloomFilter32 *|btllib::KmerCountingBloomFilter< uint32_t > *|btllib::KmerCountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *|btllib::KmerCountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_char_t = {"_p_btllib__MIBloomFilterT_unsigned_char_t", "btllib::MIBloomFilter< uint8_t > *|btllib::MIBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter< unsigned short > *|btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_char_t = {"_p_btllib__MIBloomFilterT_unsigned_char_t", "btllib::MIBloomFilter< unsigned char > *|btllib::MIBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_int_t = {"_p_btllib__MIBloomFilterT_unsigned_int_t", "btllib::MIBloomFilter< uint32_t > *|btllib::MIBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_short_t = {"_p_btllib__MIBloomFilterT_unsigned_short_t", "btllib::MIBloomFilter< uint16_t > *|btllib::MIBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_short_t = {"_p_btllib__MIBloomFilterT_unsigned_short_t", "btllib::MIBloomFilter< unsigned short > *|btllib::MIBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__NtHash = {"_p_btllib__NtHash", "btllib::NtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__NtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__RandSeq = {"_p_btllib__RandSeq", "btllib::RandSeq *", 0, 0, (void*)&SwigPyBuiltin__btllib__RandSeq_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedAAHash = {"_p_btllib__SeedAAHash", "btllib::SeedAAHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedAAHash_clientdata, 0}; @@ -70169,28 +68115,28 @@ static swig_type_info _swigt__p_char = {"_p_char", "std::basic_istream< char >:: static swig_type_info _swigt__p_char_type = {"_p_char_type", "char_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "std::ios_base::event_callback|void (*)(enum std::ios_base::event,std::ios_base &,int)", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "void (*)(enum std::ios_base::event,std::ios_base &,int)|std::ios_base::event_callback", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__ios_base = {"_p_f_r_std__ios_base__r_std__ios_base", "std::ios_base &(*)(std::ios_base &)", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_fmtflags = {"_p_fmtflags", "fmtflags *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "int32_t *|int_fast16_t *|int_fast32_t *|int_least32_t *|intptr_t *|int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int_type = {"_p_int_type", "int_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_iostate = {"_p_iostate", "iostate *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_off_type = {"_p_off_type", "off_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_openmode = {"_p_openmode", "openmode *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0}; @@ -70200,48 +68146,48 @@ static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0 static swig_type_info _swigt__p_pos_type = {"_p_pos_type", "pos_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_sdsl__bit_vector = {"_p_sdsl__bit_vector", "sdsl::bit_vector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_seekdir = {"_p_seekdir", "seekdir *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "int16_t *|int_least16_t *|short *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "int8_t *|int_fast8_t *|int_least8_t *|signed char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_t = {"_p_size_t", "std::streamsize *|size_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_state_type = {"_p_state_type", "state_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t = {"_p_std__allocatorT_btllib__Indexlr__Minimizer_t", "std::vector< btllib::Indexlr::Minimizer >::allocator_type *|std::allocator< btllib::Indexlr::Minimizer > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t = {"_p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t", "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::allocator_type *|std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *|std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_unsigned_char_t = {"_p_std__allocatorT_unsigned_char_t", "std::vector< unsigned char >::allocator_type *|std::allocator< unsigned char > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_unsigned_int_t = {"_p_std__allocatorT_unsigned_int_t", "std::vector< unsigned int >::allocator_type *|std::allocator< unsigned int > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::vector< uint64_t >::allocator_type *|std::allocator< uint64_t > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > *|std::ios *|std::basic_ios< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::iostream *|std::basic_iostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > *|std::istream *|std::basic_istream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > *|std::ostream *|std::basic_ostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::allocator< uint64_t > *|std::vector< uint64_t >::allocator_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char > *|std::basic_ios< char,std::char_traits< char > > *|std::ios *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::basic_iostream< char > *|std::iostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char > *|std::basic_istream< char,std::char_traits< char > > *|std::istream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char > *|std::basic_ostream< char,std::char_traits< char > > *|std::ostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; static swig_type_info _swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t = {"_p_std__basic_streambufT_char_std__char_traitsT_char_t_t", "std::basic_streambuf< char,std::char_traits< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t = {"_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t", "std::basic_string< char,std::char_traits< char >,std::allocator< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__ios_base = {"_p_std__ios_base", "std::ios_base *", 0, 0, (void*)&SwigPyBuiltin__std__ios_base_clientdata, 0}; static swig_type_info _swigt__p_std__locale = {"_p_std__locale", "std::locale *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string_view = {"_p_std__string_view", "std::string_view *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t = {"_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t", "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *|std::vector< btllib::Indexlr::Minimizer > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t = {"_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t", "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *|std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_double_std__allocatorT_double_t_t = {"_p_std__vectorT_double_std__allocatorT_double_t_t", "std::vector< double,std::allocator< double > > *|std::vector< double > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_double_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_int_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t = {"_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t", "btllib::SpacedSeedBlocks *|std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t = {"_p_std__vectorT_std__string_std__allocatorT_std__string_t_t", "std::vector< std::string,std::allocator< std::string > > *|std::vector< std::string > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_std__string_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t", "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *|std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t = {"_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t", "std::vector< unsigned char,std::allocator< unsigned char > > *|std::vector< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|btllib::SpacedSeedMonomers *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *|std::vector< uint64_t > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; -static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_istream< char >::off_type *|std::basic_ostream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_istream< char >::pos_type *|std::basic_ostream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t = {"_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t", "std::vector< unsigned char > *|std::vector< unsigned char,std::allocator< unsigned char > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *|btllib::SpacedSeedMonomers *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; +static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_ostream< char >::off_type *|std::basic_istream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_ostream< char >::pos_type *|std::basic_istream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)&SwigPyBuiltin__swig__SwigPyIterator_clientdata, 0}; static swig_type_info _swigt__p_traits_type = {"_p_traits_type", "traits_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "btllib::NTHASH_HASH_NUM_TYPE *|uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipeId *|btllib::PipelineId *|unsigned long *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|uint64_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|btllib::NTHASH_HASH_NUM_TYPE *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipelineId *|unsigned long *|btllib::PipeId *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint64_t *|uint_fast64_t *|uint_least64_t *|uint64_t *|uintmax_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { @@ -70261,11 +68207,11 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_btllib__DataSource, &_swigt__p_btllib__DataStream, &_swigt__p_btllib__Datatype, - &_swigt__p_btllib__Indexlr, - &_swigt__p_btllib__Indexlr__Flag, - &_swigt__p_btllib__Indexlr__Minimizer, - &_swigt__p_btllib__Indexlr__Record, - &_swigt__p_btllib__Indexlr__RecordIterator, + &_swigt__p_btllib__IndexlrT_btllib__NtHash_t, + &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag, + &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, + &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Record, + &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, &_swigt__p_btllib__KmerBloomFilter, &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t, &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, @@ -70323,7 +68269,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_size_t, &_swigt__p_size_type, &_swigt__p_state_type, - &_swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t, + &_swigt__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, &_swigt__p_std__allocatorT_double_t, &_swigt__p_std__allocatorT_int_t, &_swigt__p_std__allocatorT_std__string_t, @@ -70341,7 +68287,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__locale, &_swigt__p_std__string, &_swigt__p_std__string_view, - &_swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, + &_swigt__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, &_swigt__p_std__vectorT_double_std__allocatorT_double_t_t, &_swigt__p_std__vectorT_int_std__allocatorT_int_t_t, &_swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t, @@ -70379,11 +68325,11 @@ static swig_cast_info _swigc__p_btllib__DataSink[] = { {&_swigt__p_btllib__Data static swig_cast_info _swigc__p_btllib__DataSource[] = { {&_swigt__p_btllib__DataSource, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__DataStream[] = { {&_swigt__p_btllib__DataStream, 0, 0, 0}, {&_swigt__p_btllib__DataSink, _p_btllib__DataSinkTo_p_btllib__DataStream, 0, 0}, {&_swigt__p_btllib__DataSource, _p_btllib__DataSourceTo_p_btllib__DataStream, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__Datatype[] = { {&_swigt__p_btllib__Datatype, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__Indexlr[] = { {&_swigt__p_btllib__Indexlr, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__Indexlr__Flag[] = { {&_swigt__p_btllib__Indexlr__Flag, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__Indexlr__Minimizer[] = { {&_swigt__p_btllib__Indexlr__Minimizer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__Indexlr__Record[] = { {&_swigt__p_btllib__Indexlr__Record, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__Indexlr__RecordIterator[] = { {&_swigt__p_btllib__Indexlr__RecordIterator, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Flag[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Record[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Record, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerBloomFilter[] = { {&_swigt__p_btllib__KmerBloomFilter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_char_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_int_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -70406,19 +68352,19 @@ static swig_cast_info _swigc__p_char_type[] = { {&_swigt__p_char_type, 0, 0, 0} static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_enum_std__ios_base__event_r_std__ios_base_int__void[] = { {&_swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_fmtflags[] = { {&_swigt__p_fmtflags, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; @@ -70441,7 +68387,7 @@ static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_state_type[] = { {&_swigt__p_state_type, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__allocatorT_btllib__Indexlr__Minimizer_t[] = { {&_swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t[] = { {&_swigt__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_double_t[] = { {&_swigt__p_std__allocatorT_double_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_int_t[] = { {&_swigt__p_std__allocatorT_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p_std__allocatorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -70449,17 +68395,17 @@ static swig_cast_info _swigc__p_std__allocatorT_std__vectorT_unsigned_int_std__a static swig_cast_info _swigc__p_std__allocatorT_unsigned_char_t[] = { {&_swigt__p_std__allocatorT_unsigned_char_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_int_t[] = { {&_swigt__p_std__allocatorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_long_long_t[] = { {&_swigt__p_std__allocatorT_unsigned_long_long_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_streambufT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t[] = { {&_swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__locale[] = { {&_swigt__p_std__locale, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string_view[] = { {&_swigt__p_std__string_view, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t[] = { {&_swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t[] = { {&_swigt__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_double_std__allocatorT_double_t_t[] = { {&_swigt__p_std__vectorT_double_std__allocatorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_int_std__allocatorT_int_t_t[] = { {&_swigt__p_std__vectorT_int_std__allocatorT_int_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t[] = { {&_swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -70497,11 +68443,11 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_btllib__DataSource, _swigc__p_btllib__DataStream, _swigc__p_btllib__Datatype, - _swigc__p_btllib__Indexlr, - _swigc__p_btllib__Indexlr__Flag, - _swigc__p_btllib__Indexlr__Minimizer, - _swigc__p_btllib__Indexlr__Record, - _swigc__p_btllib__Indexlr__RecordIterator, + _swigc__p_btllib__IndexlrT_btllib__NtHash_t, + _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Flag, + _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, + _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Record, + _swigc__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, _swigc__p_btllib__KmerBloomFilter, _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_char_t, _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, @@ -70559,7 +68505,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_size_t, _swigc__p_size_type, _swigc__p_state_type, - _swigc__p_std__allocatorT_btllib__Indexlr__Minimizer_t, + _swigc__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, _swigc__p_std__allocatorT_double_t, _swigc__p_std__allocatorT_int_t, _swigc__p_std__allocatorT_std__string_t, @@ -70577,7 +68523,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__locale, _swigc__p_std__string, _swigc__p_std__string_view, - _swigc__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, + _swigc__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, _swigc__p_std__vectorT_double_std__allocatorT_double_t_t, _swigc__p_std__vectorT_int_std__allocatorT_int_t_t, _swigc__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t, @@ -70665,12 +68611,9 @@ extern "C" { #define SWIGRUNTIME_DEBUG #endif -#ifndef SWIG_INIT_CLIENT_DATA_TYPE -#define SWIG_INIT_CLIENT_DATA_TYPE void * -#endif SWIGRUNTIME void -SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) { +SWIG_InitializeModule(void *clientdata) { size_t i; swig_module_info *module_head, *iter; int init; @@ -70853,6 +68796,220 @@ SWIG_PropagateClientData(void) { extern "C" { #endif + /* Python-specific SWIG API */ +#define SWIG_newvarlink() SWIG_Python_newvarlink() +#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) +#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) + + /* ----------------------------------------------------------------------------- + * global variable support code. + * ----------------------------------------------------------------------------- */ + + typedef struct swig_globalvar { + char *name; /* Name of global variable */ + PyObject *(*get_attr)(void); /* Return the current value */ + int (*set_attr)(PyObject *); /* Set the value */ + struct swig_globalvar *next; + } swig_globalvar; + + typedef struct swig_varlinkobject { + PyObject_HEAD + swig_globalvar *vars; + } swig_varlinkobject; + + SWIGINTERN PyObject * + swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { +#if PY_VERSION_HEX >= 0x03000000 + return PyUnicode_InternFromString(""); +#else + return PyString_FromString(""); +#endif + } + + SWIGINTERN PyObject * + swig_varlink_str(swig_varlinkobject *v) { +#if PY_VERSION_HEX >= 0x03000000 + PyObject *str = PyUnicode_InternFromString("("); + PyObject *tail; + PyObject *joined; + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + tail = PyUnicode_FromString(var->name); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + if (var->next) { + tail = PyUnicode_InternFromString(", "); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + } + } + tail = PyUnicode_InternFromString(")"); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; +#else + PyObject *str = PyString_FromString("("); + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + PyString_ConcatAndDel(&str,PyString_FromString(var->name)); + if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); + } + PyString_ConcatAndDel(&str,PyString_FromString(")")); +#endif + return str; + } + + SWIGINTERN void + swig_varlink_dealloc(swig_varlinkobject *v) { + swig_globalvar *var = v->vars; + while (var) { + swig_globalvar *n = var->next; + free(var->name); + free(var); + var = n; + } + } + + SWIGINTERN PyObject * + swig_varlink_getattr(swig_varlinkobject *v, char *n) { + PyObject *res = NULL; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->get_attr)(); + break; + } + var = var->next; + } + if (res == NULL && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; + } + + SWIGINTERN int + swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { + int res = 1; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->set_attr)(p); + break; + } + var = var->next; + } + if (res == 1 && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; + } + + SWIGINTERN PyTypeObject* + swig_varlink_type(void) { + static char varlink__doc__[] = "Swig var link object"; + static PyTypeObject varlink_type; + static int type_init = 0; + if (!type_init) { + const PyTypeObject tmp = { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "swigvarlink", /* tp_name */ + sizeof(swig_varlinkobject), /* tp_basicsize */ + 0, /* tp_itemsize */ + (destructor) swig_varlink_dealloc, /* tp_dealloc */ + 0, /* tp_print */ + (getattrfunc) swig_varlink_getattr, /* tp_getattr */ + (setattrfunc) swig_varlink_setattr, /* tp_setattr */ + 0, /* tp_compare */ + (reprfunc) swig_varlink_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + (reprfunc) swig_varlink_str, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + 0, /* tp_flags */ + varlink__doc__, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + 0, /* tp_allocs */ + 0, /* tp_frees */ + 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0 /* tp_next */ +#endif + }; + varlink_type = tmp; + type_init = 1; + if (PyType_Ready(&varlink_type) < 0) + return NULL; + } + return &varlink_type; + } + + /* Create a variable linking object for use later */ + SWIGINTERN PyObject * + SWIG_Python_newvarlink(void) { + swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); + if (result) { + result->vars = 0; + } + return ((PyObject*) result); + } + + SWIGINTERN void + SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { + swig_varlinkobject *v = (swig_varlinkobject *) p; + swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); + if (gv) { + size_t size = strlen(name)+1; + gv->name = (char *)malloc(size); + if (gv->name) { + memcpy(gv->name, name, size); + gv->get_attr = get_attr; + gv->set_attr = set_attr; + gv->next = v->vars; + } + } + v->vars = gv; + } + + SWIGINTERN PyObject * + SWIG_globals(void) { + static PyObject *globals = 0; + if (!globals) { + globals = SWIG_newvarlink(); + } + return globals; + } + /* ----------------------------------------------------------------------------- * constants/methods manipulation * ----------------------------------------------------------------------------- */ @@ -70881,12 +69038,15 @@ extern "C" { } } - /* ----------------------------------------------------------------------------- - * Patch %callback methods' docstrings to hold the callback ptrs - * -----------------------------------------------------------------------------*/ + /* -----------------------------------------------------------------------------*/ + /* Fix SwigMethods to carry the callback ptrs when needed */ + /* -----------------------------------------------------------------------------*/ SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) { + SWIG_Python_FixMethods(PyMethodDef *methods, + swig_const_info *const_table, + swig_type_info **types, + swig_type_info **types_initial) { size_t i; for (i = 0; methods[i].ml_name; ++i) { const char *c = methods[i].ml_doc; @@ -70894,7 +69054,7 @@ extern "C" { c = strstr(c, "swig_ptr: "); if (c) { int j; - const swig_const_info *ci = 0; + swig_const_info *ci = 0; const char *name = c + 10; for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, @@ -70926,13 +69086,68 @@ extern "C" { } } + /* ----------------------------------------------------------------------------- + * Method creation and docstring support functions + * ----------------------------------------------------------------------------- */ + + /* ----------------------------------------------------------------------------- + * Function to find the method definition with the correct docstring for the + * proxy module as opposed to the low-level API + * ----------------------------------------------------------------------------- */ + + SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name) { + /* Find the function in the modified method table */ + size_t offset = 0; + int found = 0; + while (SwigMethods_proxydocs[offset].ml_meth != NULL) { + if (strcmp(SwigMethods_proxydocs[offset].ml_name, name) == 0) { + found = 1; + break; + } + offset++; + } + /* Use the copy with the modified docstring if available */ + return found ? &SwigMethods_proxydocs[offset] : NULL; + } + + /* ----------------------------------------------------------------------------- + * Wrapper of PyInstanceMethod_New() used in Python 3 + * It is exported to the generated module, used for -fastproxy + * ----------------------------------------------------------------------------- */ + + SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { + if (PyCFunction_Check(func)) { + PyCFunctionObject *funcobj = (PyCFunctionObject *)func; + PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); + if (ml) + func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); + } +#if PY_VERSION_HEX >= 0x03000000 + return PyInstanceMethod_New(func); +#else + return PyMethod_New(func, NULL, NULL); +#endif + } + + /* ----------------------------------------------------------------------------- + * Wrapper of PyStaticMethod_New() + * It is exported to the generated module, used for -fastproxy + * ----------------------------------------------------------------------------- */ + + SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { + if (PyCFunction_Check(func)) { + PyCFunctionObject *funcobj = (PyCFunctionObject *)func; + PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); + if (ml) + func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); + } + return PyStaticMethod_New(func); + } + #ifdef __cplusplus } #endif - - - /* -----------------------------------------------------------------------------* * Partial Init method * -----------------------------------------------------------------------------*/ @@ -71082,6 +69297,7 @@ SWIG_init(void) { #endif } PyDict_SetItemString(md, "cvar", globals); + Py_DECREF(globals); SwigPyBuiltin_AddPublicSymbol(public_interface, "cvar"); SWIG_addvarlink(globals, "ios_base_boolalpha", Swig_var_ios_base_boolalpha_get, Swig_var_ios_base_boolalpha_set); SWIG_addvarlink(globals, "ios_base_dec", Swig_var_ios_base_dec_get, Swig_var_ios_base_dec_set); @@ -71124,97 +69340,97 @@ SWIG_init(void) { SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_binary_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_goodbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_fixed_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); if (PyType_Ready(builtin_pytype) < 0) { @@ -71557,8 +69773,8 @@ SWIG_init(void) { SwigPyBuiltin_AddPublicSymbol(public_interface, "VectorUint64t"); d = md; - /* type 'std::vector< btllib::Indexlr::Minimizer >' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type; + /* type 'std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -71602,130 +69818,6 @@ SWIG_init(void) { PyModule_AddObject(m, "VectorSpacedSeed", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "VectorSpacedSeed"); d = md; - - /* type 'btllib::Indexlr' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "MAX_SIMULTANEOUS_INDEXLRS",SWIG_From_size_t(static_cast< size_t >(btllib::Indexlr::MAX_SIMULTANEOUS_INDEXLRS))); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Indexlr'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Indexlr", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Indexlr"); - d = md; - - /* type 'btllib::Indexlr::Flag' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "NO_ID",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::NO_ID))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "BX",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::BX))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SEQ",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SEQ))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_IN",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_IN))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_OUT",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_OUT))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SHORT_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SHORT_MODE))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "LONG_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::LONG_MODE))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "QUAL",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::QUAL))); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrFlag'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrFlag", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrFlag"); - d = md; - - /* type 'btllib::Indexlr::Minimizer' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Minimizer'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Minimizer", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Minimizer"); - d = md; - - /* type 'btllib::Indexlr::Record' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Record_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecord'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrRecord", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecord"); - d = md; - - /* type 'btllib::Indexlr::RecordIterator' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecordIterator'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrRecordIterator", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecordIterator"); - d = md; SWIG_addvarlink(globals, "BIT_MASKS", Swig_var_BIT_MASKS_get, Swig_var_BIT_MASKS_set); PyDict_SetItemString(md, "BIT_MASKS", PyObject_GetAttrString(globals, "BIT_MASKS")); SwigPyBuiltin_AddPublicSymbol(public_interface, "BIT_MASKS"); @@ -72958,8 +71050,130 @@ SWIG_init(void) { PyModule_AddObject(m, "MIBloomFilter32", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "MIBloomFilter32"); d = md; - SWIG_Python_FixMethods(SwigMethods_proxydocs, swig_const_table, swig_types, swig_type_initial); + /* type 'btllib::Indexlr< btllib::NtHash >' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "MAX_SIMULTANEOUS_INDEXLRS",SWIG_From_size_t(static_cast< size_t >(btllib::Indexlr< btllib::NtHash >::MAX_SIMULTANEOUS_INDEXLRS))); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'Indexlr'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "Indexlr", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Indexlr"); + d = md; + + /* type 'btllib::Indexlr< btllib::NtHash >::Flag' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "NO_ID",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::NO_ID))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "BX",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::BX))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SEQ",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::SEQ))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_IN",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::FILTER_IN))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_OUT",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::FILTER_OUT))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SHORT_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::SHORT_MODE))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "LONG_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::LONG_MODE))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "QUAL",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr< btllib::NtHash >::Flag::QUAL))); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrFlag'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "IndexlrFlag", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrFlag"); + d = md; + + /* type 'btllib::Indexlr< btllib::NtHash >::Minimizer' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'Minimizer'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "Minimizer", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Minimizer"); + d = md; + + /* type 'btllib::Indexlr< btllib::NtHash >::Record' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecord'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "IndexlrRecord", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecord"); + d = md; + + /* type 'btllib::Indexlr< btllib::NtHash >::RecordIterator' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecordIterator'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "IndexlrRecordIterator", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecordIterator"); + d = md; #if PY_VERSION_HEX >= 0x03000000 return m; #else diff --git a/wrappers/python/extra.i b/wrappers/python/extra.i index d321e6d5..eeea5614 100644 --- a/wrappers/python/extra.i +++ b/wrappers/python/extra.i @@ -4,14 +4,14 @@ %rename(__iter__) btllib::SeqReader::begin; %ignore btllib::SeqReader::end; %rename(__next__) btllib::SeqReader::RecordIterator::next; -%rename(__iter__) btllib::Indexlr::begin; -%ignore btllib::Indexlr::end; -%rename(__next__) btllib::Indexlr::RecordIterator::next; +%rename(__iter__) btllib::Indexlr::begin; +%ignore btllib::Indexlr::end; +%rename(__next__) btllib::Indexlr::RecordIterator::next; %feature("python:slot", "tp_iter", functype="getiterfunc") btllib::SeqReader::begin; %feature("python:slot", "tp_iternext", functype="iternextfunc") btllib::SeqReader::RecordIterator::next; -%feature("python:slot", "tp_iter", functype="getiterfunc") btllib::Indexlr::begin; -%feature("python:slot", "tp_iternext", functype="iternextfunc") btllib::Indexlr::RecordIterator::next; +%feature("python:slot", "tp_iter", functype="getiterfunc") btllib::Indexlr::begin; +%feature("python:slot", "tp_iternext", functype="iternextfunc") btllib::Indexlr::RecordIterator::next; %ignore btllib::BloomFilter::save(std::string const &, cpptoml::table const &, char const *, size_t); @@ -43,8 +43,8 @@ } } -%extend btllib::Indexlr { - btllib::Indexlr* __enter__() { +%extend btllib::Indexlr { + btllib::Indexlr* __enter__() { return $self; } @@ -53,7 +53,7 @@ } } -%exception btllib::Indexlr::RecordIterator::next { +%exception btllib::Indexlr::RecordIterator::next { $action if (!bool(result)) { PyErr_SetNone(PyExc_StopIteration); @@ -100,10 +100,10 @@ } %} -%typemap(out) std::vector* %{ +%typemap(out) std::vector::Minimizer>* %{ $result = PyList_New($1->size()); for (unsigned i = 0; i < $1->size(); ++i) { - PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*($1))[i]), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN); + PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*($1))[i]), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_OWN); PyList_SetItem($result, i, item); } %} From bc0d02b218ee93c47336d80827285a6d64e721b2 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Sat, 15 Jul 2023 19:02:41 -0700 Subject: [PATCH 05/12] indexlr.cpp: WIP for incorprating hashing amino acid seq --- recipes/indexlr.cpp | 135 +++++++++++++++++++++++++++++++++----------- 1 file changed, 101 insertions(+), 34 deletions(-) diff --git a/recipes/indexlr.cpp b/recipes/indexlr.cpp index 0edc4fdc..b3e6aef5 100644 --- a/recipes/indexlr.cpp +++ b/recipes/indexlr.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include const static std::string PROGNAME = "indexlr"; @@ -62,6 +63,7 @@ print_usage() " --seq Include minimizer sequences in the output " "(appended with : after " "minimizer value).\n" + " --amino_acid use amino acid hash function\n" " --qual Include minimizer Phred quality string in the output" "(appended with : after " "minimizer value).\n" @@ -100,13 +102,14 @@ main(int argc, char* argv[]) bool k_set = false; bool q_set = false; int with_id = 0, with_bx = 0, with_len = 0, with_pos = 0, with_strand = 0, - with_seq = 0, with_qual = 0; + with_seq = 0, with_qual = 0, with_amino_acid = 0; std::unique_ptr repeat_bf, solid_bf; bool with_repeat = false, with_solid = false; int long_mode = 0; std::string outfile("-"); bool failed = false; static const struct option longopts[] = { + { "amino_acid", no_argument, &with_amino_acid, 1 }, { "id", no_argument, &with_id, 1 }, { "bx", no_argument, &with_bx, 1 }, { "len", no_argument, &with_len, 1 }, @@ -220,24 +223,24 @@ main(int argc, char* argv[]) unsigned flags = 0; if (bool(with_bx) && !bool(with_id)) { - flags |= btllib::Indexlr::Flag::NO_ID; + flags |= btllib::Indexlr::Flag::NO_ID; } if (bool(with_bx)) { - flags |= btllib::Indexlr::Flag::BX; + flags |= btllib::Indexlr::Flag::BX; } if (bool(with_seq)) { - flags |= btllib::Indexlr::Flag::SEQ; + flags |= btllib::Indexlr::Flag::SEQ; } if (bool(with_qual)) { - flags |= btllib::Indexlr::Flag::QUAL; + flags |= btllib::Indexlr::Flag::QUAL; } if (bool(long_mode)) { - flags |= btllib::Indexlr::Flag::LONG_MODE; + flags |= btllib::Indexlr::Flag::LONG_MODE; } else { - flags |= btllib::Indexlr::Flag::SHORT_MODE; + flags |= btllib::Indexlr::Flag::SHORT_MODE; } - btllib::Indexlr::Record record; + btllib::Indexlr::Record record; FILE* out; if (outfile == "-") { out = stdout; @@ -248,36 +251,98 @@ main(int argc, char* argv[]) out = fopen(outfile.c_str(), "w"); // NOLINT(android-cloexec-fopen) #endif } + + using unique_indexlr_nt_ptr = std::unique_ptr< + btllib::Indexlr>; // NOLINT(modernize-make-unique) + using unique_indexlr_aa_ptr = std::unique_ptr< + btllib::Indexlr>; // NOLINT(modernize-make-unique) + using variant_indexlr_ptr = + std::variant; for (const auto& infile : infiles) { - std::unique_ptr indexlr; + + variant_indexlr_ptr indexlr; if (with_repeat && with_solid) { - flags |= btllib::Indexlr::Flag::FILTER_IN; - flags |= btllib::Indexlr::Flag::FILTER_OUT; - indexlr = - std::unique_ptr( // NOLINT(modernize-make-unique) - new btllib::Indexlr(infile, - k, - w, - q, - flags, - t, - verbose, - solid_bf->get_bloom_filter(), - repeat_bf->get_bloom_filter())); + flags |= btllib::Indexlr::Flag::FILTER_IN; + flags |= btllib::Indexlr::Flag::FILTER_OUT; + if (with_amino_acid == 0) { + indexlr = unique_indexlr_nt_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr(infile, + k, + w, + q, + flags, + t, + verbose, + solid_bf->get_bloom_filter(), + repeat_bf->get_bloom_filter())); + } else { + indexlr = unique_indexlr_aa_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr(infile, + k, + w, + q, + flags, + t, + verbose, + solid_bf->get_bloom_filter(), + repeat_bf->get_bloom_filter())); + } } else if (with_repeat) { - flags |= btllib::Indexlr::Flag::FILTER_OUT; - indexlr = std::unique_ptr< // NOLINT(modernize-make-unique) - btllib::Indexlr>(new btllib::Indexlr( - infile, k, w, q, flags, t, verbose, repeat_bf->get_bloom_filter())); + flags |= btllib::Indexlr::Flag::FILTER_OUT; + if (with_amino_acid == 0) { + indexlr = unique_indexlr_nt_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr(infile, + k, + w, + q, + flags, + t, + verbose, + repeat_bf->get_bloom_filter())); + } else { + indexlr = unique_indexlr_aa_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr(infile, + k, + w, + q, + flags, + t, + verbose, + repeat_bf->get_bloom_filter())); + } } else if (with_solid) { - flags |= btllib::Indexlr::Flag::FILTER_IN; - indexlr = std::unique_ptr< // NOLINT(modernize-make-unique) - btllib::Indexlr>(new btllib::Indexlr( - infile, k, w, q, flags, t, verbose, solid_bf->get_bloom_filter())); + flags |= btllib::Indexlr::Flag::FILTER_IN; + if (with_amino_acid == 0) { + indexlr = unique_indexlr_nt_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr(infile, + k, + w, + q, + flags, + t, + verbose, + solid_bf->get_bloom_filter())); + } else { + indexlr = unique_indexlr_aa_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr(infile, + k, + w, + q, + flags, + t, + verbose, + solid_bf->get_bloom_filter())); + } } else { - indexlr = - std::unique_ptr( // NOLINT(modernize-make-unique) - new btllib::Indexlr(infile, k, w, q, flags, t, verbose)); + if (with_amino_acid == 0) { + indexlr = unique_indexlr_nt_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr( + infile, k, w, q, flags, t, verbose)); + } else { + indexlr = unique_indexlr_aa_ptr( // NOLINT(modernize-make-unique) + new btllib::Indexlr( + infile, k, w, q, flags, t, verbose)); + } } std::queue output_queue; std::mutex output_queue_mutex; @@ -287,7 +352,8 @@ main(int argc, char* argv[]) bool(long_mode) ? OUTPUT_PERIOD_LONG : OUTPUT_PERIOD_SHORT; std::unique_ptr info_compiler(new std::thread([&]() { std::stringstream ss; - while ((record = indexlr->read())) { + record = std::get(indexlr)->read(); + while (record) { if (bool(with_id) || (!bool(with_id) && !bool(with_bx))) { ss << record.id << '\t'; } @@ -333,6 +399,7 @@ main(int argc, char* argv[]) newstring.reserve(max_seen_output_size); ss.str(newstring); } + record = std::get(indexlr)->read(); } { const std::unique_lock lock(output_queue_mutex); From aa80a81cd9280c449116c247bb33d863259b2d4d Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 07:05:22 -0700 Subject: [PATCH 06/12] indexlr.hpp: move record and minimizer out of class template Indexlr --- include/btllib/indexlr.hpp | 186 ++++++++++++++++++------------------- 1 file changed, 92 insertions(+), 94 deletions(-) diff --git a/include/btllib/indexlr.hpp b/include/btllib/indexlr.hpp index db52008b..244aaef1 100644 --- a/include/btllib/indexlr.hpp +++ b/include/btllib/indexlr.hpp @@ -23,6 +23,76 @@ namespace btllib { +struct Minimizer +{ + Minimizer() = default; + + Minimizer(uint64_t min_hash, + uint64_t out_hash, + size_t pos, + bool forward, + std::string seq) + : min_hash(min_hash) + , out_hash(out_hash) + , pos(pos) + , forward(forward) + , seq(std::move(seq)) + { + } + + Minimizer(uint64_t min_hash, + uint64_t out_hash, + size_t pos, + bool forward, + std::string seq, + std::string qual) + : min_hash(min_hash) + , out_hash(out_hash) + , pos(pos) + , forward(forward) + , seq(std::move(seq)) + , qual(std::move(qual)) + { + } + + uint64_t min_hash = 0, out_hash = 0; + size_t pos = 0; + bool forward = false; + std::string seq; + std::string qual; +}; + +using HashedKmer = Minimizer; + +struct Record +{ + Record() {} + + Record(size_t num, + std::string id, + std::string barcode, + size_t readlen, + std::vector minimizers) + : num(num) + , id(std::move(id)) + , barcode(std::move(barcode)) + , readlen(readlen) + , minimizers(std::move(minimizers)) + { + } + + size_t num = 0; + std::string id; + std::string barcode; + size_t readlen = 0; + std::vector minimizers; + + operator bool() const + { + return !id.empty() || !barcode.empty() || !minimizers.empty(); + } +}; + template class Indexlr { @@ -65,76 +135,6 @@ class Indexlr bool short_mode() const { return bool(flags & Flag::SHORT_MODE); } bool long_mode() const { return bool(flags & Flag::LONG_MODE); } - struct Minimizer - { - Minimizer() = default; - - Minimizer(uint64_t min_hash, - uint64_t out_hash, - size_t pos, - bool forward, - std::string seq) - : min_hash(min_hash) - , out_hash(out_hash) - , pos(pos) - , forward(forward) - , seq(std::move(seq)) - { - } - - Minimizer(uint64_t min_hash, - uint64_t out_hash, - size_t pos, - bool forward, - std::string seq, - std::string qual) - : min_hash(min_hash) - , out_hash(out_hash) - , pos(pos) - , forward(forward) - , seq(std::move(seq)) - , qual(std::move(qual)) - { - } - - uint64_t min_hash = 0, out_hash = 0; - size_t pos = 0; - bool forward = false; - std::string seq; - std::string qual; - }; - - using HashedKmer = Minimizer; - - struct Record - { - Record() {} - - Record(size_t num, - std::string id, - std::string barcode, - size_t readlen, - std::vector minimizers) - : num(num) - , id(std::move(id)) - , barcode(std::move(barcode)) - , readlen(readlen) - , minimizers(std::move(minimizers)) - { - } - - size_t num = 0; - std::string id; - std::string barcode; - size_t readlen = 0; - std::vector minimizers; - - operator bool() const - { - return !id.empty() || !barcode.empty() || !minimizers.empty(); - } - }; - /** * Read the next Indexlr record, containing read * information and a list of minimizers. @@ -226,26 +226,25 @@ class Indexlr private: static std::string extract_barcode(const std::string& id, const std::string& comment); - static void filter_hashed_kmer(Indexlr::HashedKmer& hk, + static void filter_hashed_kmer(HashedKmer& hk, bool filter_in, bool filter_out, const BloomFilter& filter_in_bf, const BloomFilter& filter_out_bf); - static void filter_kmer_qual(Indexlr::HashedKmer& hk, + static void filter_kmer_qual(HashedKmer& hk, const std::string& kmer_qual, size_t q); static size_t calc_kmer_quality(const std::string& qual); - static void calc_minimizer( - const std::vector::HashedKmer>& hashed_kmers_buffer, - const Indexlr::Minimizer*& min_current, - size_t idx, - ssize_t& min_idx_left, - ssize_t& min_idx_right, - ssize_t& min_pos_prev, - size_t w, - std::vector::Minimizer>& minimizers); + static void calc_minimizer(const std::vector& hashed_kmers_buffer, + const Minimizer*& min_current, + size_t idx, + ssize_t& min_idx_left, + ssize_t& min_idx_right, + ssize_t& min_pos_prev, + size_t w, + std::vector& minimizers); std::vector minimize(const std::string& seq, const std::string& qual) const; @@ -474,7 +473,7 @@ Indexlr::extract_barcode(const std::string& id, const std::string& comment) template inline void -Indexlr::filter_hashed_kmer(Indexlr::HashedKmer& hk, +Indexlr::filter_hashed_kmer(HashedKmer& hk, bool filter_in, bool filter_out, const BloomFilter& filter_in_bf, @@ -499,7 +498,7 @@ Indexlr::filter_hashed_kmer(Indexlr::HashedKmer& hk, template inline void -Indexlr::filter_kmer_qual(Indexlr::HashedKmer& hk, +Indexlr::filter_kmer_qual(HashedKmer& hk, const std::string& kmer_qual, size_t q) { @@ -529,15 +528,14 @@ Indexlr::calc_kmer_quality(const std::string& qual) template inline void -Indexlr::calc_minimizer( - const std::vector::HashedKmer>& hashed_kmers_buffer, - const Indexlr::Minimizer*& min_current, - const size_t idx, - ssize_t& min_idx_left, - ssize_t& min_idx_right, - ssize_t& min_pos_prev, - const size_t w, - std::vector::Minimizer>& minimizers) +Indexlr::calc_minimizer(const std::vector& hashed_kmers_buffer, + const Minimizer*& min_current, + const size_t idx, + ssize_t& min_idx_left, + ssize_t& min_idx_right, + ssize_t& min_pos_prev, + const size_t w, + std::vector& minimizers) { min_idx_left = ssize_t(idx + 1 - w); min_idx_right = ssize_t(idx + 1); @@ -587,7 +585,7 @@ Indexlr::hash_itr(const std::string& seq, size_t k) const } template -inline std::vector::Minimizer> +inline std::vector Indexlr::minimize(const std::string& seq, const std::string& qual) const { if ((k > seq.size()) || (w > seq.size() - k + 1)) { @@ -632,7 +630,7 @@ Indexlr::minimize(const std::string& seq, const std::string& qual) const } template -inline typename Indexlr::Record +Record Indexlr::read() { if (ready_blocks_owners()[id % MAX_SIMULTANEOUS_INDEXLRS] != id) { From 86d06597b473ecb00ad757859f3a0d3a1bbc6457 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 07:05:52 -0700 Subject: [PATCH 07/12] update indexlr unit test --- tests/indexlr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/indexlr.cpp b/tests/indexlr.cpp index 87eb1110..4ded8808 100644 --- a/tests/indexlr.cpp +++ b/tests/indexlr.cpp @@ -91,7 +91,7 @@ main() std::stringstream ss3; std::stringstream ss4; - decltype(indexlr)::Record record; + btllib::Record record; bool success_indexlr = false, success_indexlr2 = false, success_indexlr3 = false, success_indexlr4 = false; for (int i = 0;; i++) { if ((success_indexlr = (record = indexlr.read()))) { From 496e543a63a043d6af70817db29835415cdbaa6a Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 07:07:18 -0700 Subject: [PATCH 08/12] indexlr.cpp: use std::visit to access indexlr variant to call read() --- recipes/indexlr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/indexlr.cpp b/recipes/indexlr.cpp index b3e6aef5..f8d5b5e5 100644 --- a/recipes/indexlr.cpp +++ b/recipes/indexlr.cpp @@ -240,7 +240,7 @@ main(int argc, char* argv[]) flags |= btllib::Indexlr::Flag::SHORT_MODE; } - btllib::Indexlr::Record record; + btllib::Record record; FILE* out; if (outfile == "-") { out = stdout; @@ -352,7 +352,7 @@ main(int argc, char* argv[]) bool(long_mode) ? OUTPUT_PERIOD_LONG : OUTPUT_PERIOD_SHORT; std::unique_ptr info_compiler(new std::thread([&]() { std::stringstream ss; - record = std::get(indexlr)->read(); + record = std::visit([](auto& ptr) { return ptr->read(); }, indexlr); while (record) { if (bool(with_id) || (!bool(with_id) && !bool(with_bx))) { ss << record.id << '\t'; @@ -399,7 +399,7 @@ main(int argc, char* argv[]) newstring.reserve(max_seen_output_size); ss.str(newstring); } - record = std::get(indexlr)->read(); + record = std::visit([](auto& ptr) { return ptr->read(); }, indexlr); } { const std::unique_lock lock(output_queue_mutex); From 1ad3c62bbf5639520ea0639badbc6ea11f23dd48 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 07:07:34 -0700 Subject: [PATCH 09/12] indexlr: update wrappers --- wrappers/extra_common.i | 4 +- wrappers/python/btllib.py | 1 - wrappers/python/btllib_wrap.cxx | 13074 +++++++++++++++--------------- wrappers/python/extra.i | 4 +- 4 files changed, 6538 insertions(+), 6545 deletions(-) diff --git a/wrappers/extra_common.i b/wrappers/extra_common.i index 2937605c..18e309f7 100644 --- a/wrappers/extra_common.i +++ b/wrappers/extra_common.i @@ -70,10 +70,10 @@ %template(VectorUnsigned) std::vector; %template(VectorDouble) std::vector; %template(VectorUint64t) std::vector; -%template(VectorMinimizer) std::vector::Minimizer>; +%template(VectorMinimizer) std::vector; namespace btllib { -using SpacedSeed = std::vector< unsigned >; +using SpacedSeed = std::vector; } %template(VectorSpacedSeed) std::vector; diff --git a/wrappers/python/btllib.py b/wrappers/python/btllib.py index 65f660ac..9ace533c 100644 --- a/wrappers/python/btllib.py +++ b/wrappers/python/btllib.py @@ -105,7 +105,6 @@ class _SwigNonDynamicMeta(type): -Record = new_Record diff --git a/wrappers/python/btllib_wrap.cxx b/wrappers/python/btllib_wrap.cxx index f4d8fd86..830503c3 100644 --- a/wrappers/python/btllib_wrap.cxx +++ b/wrappers/python/btllib_wrap.cxx @@ -3450,124 +3450,123 @@ SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyO /* -------- TYPES TABLE (BEGIN) -------- */ -#define SWIGTYPE_p_HashedKmer swig_types[0] -#define SWIGTYPE_p_SwigPyObject swig_types[1] -#define SWIGTYPE_p_allocator_type swig_types[2] -#define SWIGTYPE_p_bool swig_types[3] -#define SWIGTYPE_p_btllib__AAHash swig_types[4] -#define SWIGTYPE_p_btllib__Barrier swig_types[5] -#define SWIGTYPE_p_btllib__BlindNtHash swig_types[6] -#define SWIGTYPE_p_btllib__BloomFilter swig_types[7] -#define SWIGTYPE_p_btllib__CString swig_types[8] -#define SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t swig_types[9] -#define SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t swig_types[10] -#define SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t swig_types[11] -#define SWIGTYPE_p_btllib__DataSink swig_types[12] -#define SWIGTYPE_p_btllib__DataSource swig_types[13] -#define SWIGTYPE_p_btllib__DataStream swig_types[14] -#define SWIGTYPE_p_btllib__Datatype swig_types[15] -#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t swig_types[16] -#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag swig_types[17] -#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer swig_types[18] -#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record swig_types[19] -#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator swig_types[20] -#define SWIGTYPE_p_btllib__KmerBloomFilter swig_types[21] -#define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t swig_types[22] -#define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t swig_types[23] -#define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t swig_types[24] -#define SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t swig_types[25] -#define SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t swig_types[26] -#define SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t swig_types[27] -#define SWIGTYPE_p_btllib__NtHash swig_types[28] -#define SWIGTYPE_p_btllib__RandSeq swig_types[29] -#define SWIGTYPE_p_btllib__SeedAAHash swig_types[30] -#define SWIGTYPE_p_btllib__SeedBloomFilter swig_types[31] -#define SWIGTYPE_p_btllib__SeedNtHash swig_types[32] -#define SWIGTYPE_p_btllib__SeqReader swig_types[33] -#define SWIGTYPE_p_btllib__SeqReader__Flag swig_types[34] -#define SWIGTYPE_p_btllib__SeqReader__Record swig_types[35] -#define SWIGTYPE_p_btllib__SeqReader__RecordIterator swig_types[36] -#define SWIGTYPE_p_btllib__SeqWriter swig_types[37] -#define SWIGTYPE_p_char swig_types[38] -#define SWIGTYPE_p_char_type swig_types[39] -#define SWIGTYPE_p_difference_type swig_types[40] -#define SWIGTYPE_p_double swig_types[41] -#define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[42] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[43] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[44] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[45] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[46] -#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[47] -#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[48] -#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[49] -#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[50] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[51] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[52] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[53] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[54] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[55] -#define SWIGTYPE_p_float swig_types[56] -#define SWIGTYPE_p_fmtflags swig_types[57] -#define SWIGTYPE_p_int swig_types[58] -#define SWIGTYPE_p_int_type swig_types[59] -#define SWIGTYPE_p_iostate swig_types[60] -#define SWIGTYPE_p_long swig_types[61] -#define SWIGTYPE_p_long_double swig_types[62] -#define SWIGTYPE_p_long_long swig_types[63] -#define SWIGTYPE_p_off_type swig_types[64] -#define SWIGTYPE_p_openmode swig_types[65] -#define SWIGTYPE_p_p_PyObject swig_types[66] -#define SWIGTYPE_p_p_p_unsigned_long_long swig_types[67] -#define SWIGTYPE_p_p_unsigned_long_long swig_types[68] -#define SWIGTYPE_p_p_void swig_types[69] -#define SWIGTYPE_p_pos_type swig_types[70] -#define SWIGTYPE_p_sdsl__bit_vector swig_types[71] -#define SWIGTYPE_p_seekdir swig_types[72] -#define SWIGTYPE_p_short swig_types[73] -#define SWIGTYPE_p_signed_char swig_types[74] -#define SWIGTYPE_p_size_t swig_types[75] -#define SWIGTYPE_p_size_type swig_types[76] -#define SWIGTYPE_p_state_type swig_types[77] -#define SWIGTYPE_p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t swig_types[78] -#define SWIGTYPE_p_std__allocatorT_double_t swig_types[79] -#define SWIGTYPE_p_std__allocatorT_int_t swig_types[80] -#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[81] -#define SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t swig_types[82] -#define SWIGTYPE_p_std__allocatorT_unsigned_char_t swig_types[83] -#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[84] -#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[85] -#define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[86] -#define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[87] -#define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[88] -#define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[89] -#define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[90] -#define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[91] -#define SWIGTYPE_p_std__ios_base swig_types[92] -#define SWIGTYPE_p_std__locale swig_types[93] -#define SWIGTYPE_p_std__string swig_types[94] -#define SWIGTYPE_p_std__string_view swig_types[95] -#define SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t swig_types[96] -#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[97] -#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[98] -#define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[99] -#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[100] -#define SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t swig_types[101] -#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t swig_types[102] -#define SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t swig_types[103] -#define SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t swig_types[104] -#define SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t swig_types[105] -#define SWIGTYPE_p_streamoff swig_types[106] -#define SWIGTYPE_p_streampos swig_types[107] -#define SWIGTYPE_p_swig__SwigPyIterator swig_types[108] -#define SWIGTYPE_p_traits_type swig_types[109] -#define SWIGTYPE_p_unsigned_char swig_types[110] -#define SWIGTYPE_p_unsigned_int swig_types[111] -#define SWIGTYPE_p_unsigned_long swig_types[112] -#define SWIGTYPE_p_unsigned_long_long swig_types[113] -#define SWIGTYPE_p_unsigned_short swig_types[114] -#define SWIGTYPE_p_value_type swig_types[115] -static swig_type_info *swig_types[117]; -static swig_module_info swig_module = {swig_types, 116, 0, 0, 0, 0}; +#define SWIGTYPE_p_SwigPyObject swig_types[0] +#define SWIGTYPE_p_allocator_type swig_types[1] +#define SWIGTYPE_p_bool swig_types[2] +#define SWIGTYPE_p_btllib__AAHash swig_types[3] +#define SWIGTYPE_p_btllib__Barrier swig_types[4] +#define SWIGTYPE_p_btllib__BlindNtHash swig_types[5] +#define SWIGTYPE_p_btllib__BloomFilter swig_types[6] +#define SWIGTYPE_p_btllib__CString swig_types[7] +#define SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t swig_types[8] +#define SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t swig_types[9] +#define SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t swig_types[10] +#define SWIGTYPE_p_btllib__DataSink swig_types[11] +#define SWIGTYPE_p_btllib__DataSource swig_types[12] +#define SWIGTYPE_p_btllib__DataStream swig_types[13] +#define SWIGTYPE_p_btllib__Datatype swig_types[14] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t swig_types[15] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag swig_types[16] +#define SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator swig_types[17] +#define SWIGTYPE_p_btllib__KmerBloomFilter swig_types[18] +#define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t swig_types[19] +#define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t swig_types[20] +#define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t swig_types[21] +#define SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t swig_types[22] +#define SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t swig_types[23] +#define SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t swig_types[24] +#define SWIGTYPE_p_btllib__Minimizer swig_types[25] +#define SWIGTYPE_p_btllib__NtHash swig_types[26] +#define SWIGTYPE_p_btllib__RandSeq swig_types[27] +#define SWIGTYPE_p_btllib__Record swig_types[28] +#define SWIGTYPE_p_btllib__SeedAAHash swig_types[29] +#define SWIGTYPE_p_btllib__SeedBloomFilter swig_types[30] +#define SWIGTYPE_p_btllib__SeedNtHash swig_types[31] +#define SWIGTYPE_p_btllib__SeqReader swig_types[32] +#define SWIGTYPE_p_btllib__SeqReader__Flag swig_types[33] +#define SWIGTYPE_p_btllib__SeqReader__Record swig_types[34] +#define SWIGTYPE_p_btllib__SeqReader__RecordIterator swig_types[35] +#define SWIGTYPE_p_btllib__SeqWriter swig_types[36] +#define SWIGTYPE_p_char swig_types[37] +#define SWIGTYPE_p_char_type swig_types[38] +#define SWIGTYPE_p_difference_type swig_types[39] +#define SWIGTYPE_p_double swig_types[40] +#define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[41] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[42] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[43] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[44] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[45] +#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[46] +#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[47] +#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[48] +#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[49] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[50] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[51] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[52] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[53] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[54] +#define SWIGTYPE_p_float swig_types[55] +#define SWIGTYPE_p_fmtflags swig_types[56] +#define SWIGTYPE_p_int swig_types[57] +#define SWIGTYPE_p_int_type swig_types[58] +#define SWIGTYPE_p_iostate swig_types[59] +#define SWIGTYPE_p_long swig_types[60] +#define SWIGTYPE_p_long_double swig_types[61] +#define SWIGTYPE_p_long_long swig_types[62] +#define SWIGTYPE_p_off_type swig_types[63] +#define SWIGTYPE_p_openmode swig_types[64] +#define SWIGTYPE_p_p_PyObject swig_types[65] +#define SWIGTYPE_p_p_p_unsigned_long_long swig_types[66] +#define SWIGTYPE_p_p_unsigned_long_long swig_types[67] +#define SWIGTYPE_p_p_void swig_types[68] +#define SWIGTYPE_p_pos_type swig_types[69] +#define SWIGTYPE_p_sdsl__bit_vector swig_types[70] +#define SWIGTYPE_p_seekdir swig_types[71] +#define SWIGTYPE_p_short swig_types[72] +#define SWIGTYPE_p_signed_char swig_types[73] +#define SWIGTYPE_p_size_t swig_types[74] +#define SWIGTYPE_p_size_type swig_types[75] +#define SWIGTYPE_p_state_type swig_types[76] +#define SWIGTYPE_p_std__allocatorT_btllib__Minimizer_t swig_types[77] +#define SWIGTYPE_p_std__allocatorT_double_t swig_types[78] +#define SWIGTYPE_p_std__allocatorT_int_t swig_types[79] +#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[80] +#define SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t swig_types[81] +#define SWIGTYPE_p_std__allocatorT_unsigned_char_t swig_types[82] +#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[83] +#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[84] +#define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[85] +#define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[86] +#define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[87] +#define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[88] +#define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[89] +#define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[90] +#define SWIGTYPE_p_std__ios_base swig_types[91] +#define SWIGTYPE_p_std__locale swig_types[92] +#define SWIGTYPE_p_std__string swig_types[93] +#define SWIGTYPE_p_std__string_view swig_types[94] +#define SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t swig_types[95] +#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[96] +#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[97] +#define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[98] +#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[99] +#define SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t swig_types[100] +#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t swig_types[101] +#define SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t swig_types[102] +#define SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t swig_types[103] +#define SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t swig_types[104] +#define SWIGTYPE_p_streamoff swig_types[105] +#define SWIGTYPE_p_streampos swig_types[106] +#define SWIGTYPE_p_swig__SwigPyIterator swig_types[107] +#define SWIGTYPE_p_traits_type swig_types[108] +#define SWIGTYPE_p_unsigned_char swig_types[109] +#define SWIGTYPE_p_unsigned_int swig_types[110] +#define SWIGTYPE_p_unsigned_long swig_types[111] +#define SWIGTYPE_p_unsigned_long_long swig_types[112] +#define SWIGTYPE_p_unsigned_short swig_types[113] +#define SWIGTYPE_p_value_type swig_types[114] +static swig_type_info *swig_types[116]; +static swig_module_info swig_module = {swig_types, 115, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -6674,116 +6673,116 @@ SWIGINTERN std::vector< uint64_t >::iterator std_vector_Sl_uint64_t_Sg__insert__ SWIGINTERN void std_vector_Sl_uint64_t_Sg__insert__SWIG_1(std::vector< uint64_t > *self,std::vector< uint64_t >::iterator pos,std::vector< uint64_t >::size_type n,std::vector< uint64_t >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits< btllib::Indexlr< btllib::NtHash >::Minimizer > { + template <> struct traits< btllib::Minimizer > { typedef pointer_category category; - static const char* type_name() { return"btllib::Indexlr< btllib::NtHash >::Minimizer"; } + static const char* type_name() { return"btllib::Minimizer"; } }; } namespace swig { - template <> struct traits::Minimizer, std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > > { + template <> struct traits > > { typedef pointer_category category; static const char* type_name() { - return "std::vector<" "btllib::Indexlr< btllib::NtHash >::Minimizer" "," "std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer >" " >"; + return "std::vector<" "btllib::Minimizer" "," "std::allocator< btllib::Minimizer >" " >"; } }; } -SWIGINTERN swig::SwigPyIterator *std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__iterator(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PyObject **PYTHON_SELF){ +SWIGINTERN swig::SwigPyIterator *std_vector_Sl_btllib_Minimizer_Sg__iterator(std::vector< btllib::Minimizer > *self,PyObject **PYTHON_SELF){ return swig::make_output_iterator(self->begin(), self->begin(), self->end(), *PYTHON_SELF); } -SWIGINTERN bool std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____nonzero__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self){ +SWIGINTERN bool std_vector_Sl_btllib_Minimizer_Sg____nonzero__(std::vector< btllib::Minimizer > const *self){ return !(self->empty()); } -SWIGINTERN bool std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____bool__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self){ +SWIGINTERN bool std_vector_Sl_btllib_Minimizer_Sg____bool__(std::vector< btllib::Minimizer > const *self){ return !(self->empty()); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____len__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self){ +SWIGINTERN std::vector< btllib::Minimizer >::size_type std_vector_Sl_btllib_Minimizer_Sg____len__(std::vector< btllib::Minimizer > const *self){ return self->size(); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j){ +SWIGINTERN std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *std_vector_Sl_btllib_Minimizer_Sg____getslice__(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i,std::vector< btllib::Minimizer >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >()); +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_0(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i,std::vector< btllib::Minimizer >::difference_type j){ + swig::setslice(self, i, j, 1, std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >()); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_1(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i,std::vector< btllib::Minimizer >::difference_type j,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &v){ swig::setslice(self, i, j, 1, v); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type j){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delslice__(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i,std::vector< btllib::Minimizer >::difference_type j){ swig::delslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Minimizer > *self,PySliceObject *slice,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type id = i; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::difference_type jd = j; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i){ +SWIGINTERN std::vector< btllib::Minimizer >::value_type const &std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_1(std::vector< btllib::Minimizer > const *self,std::vector< btllib::Minimizer >::difference_type i){ return *(swig::cgetpos(self, i)); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_2(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_2(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i,std::vector< btllib::Minimizer >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_3(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type i){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_3(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__pop(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self){ +SWIGINTERN std::vector< btllib::Minimizer >::value_type std_vector_Sl_btllib_Minimizer_Sg__pop(std::vector< btllib::Minimizer > *self){ if (self->size() == 0) throw std::out_of_range("pop from empty container"); - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >::value_type x = self->back(); + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::value_type x = self->back(); self->pop_back(); return x; } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__append(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg__append(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::value_type const &x){ self->push_back(x); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator pos){ return self->erase(pos); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator first,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator last){ return self->erase(first, last); } -SWIGINTERN std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_0(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator pos,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ return self->insert(pos, x); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_1(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *self,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator pos,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type n,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &x){ self->insert(pos, n, x); } +SWIGINTERN std::vector< btllib::Minimizer >::iterator std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_0(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::iterator pos){ return self->erase(pos); } +SWIGINTERN std::vector< btllib::Minimizer >::iterator std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_1(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::iterator first,std::vector< btllib::Minimizer >::iterator last){ return self->erase(first, last); } +SWIGINTERN std::vector< btllib::Minimizer >::iterator std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_0(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::iterator pos,std::vector< btllib::Minimizer >::value_type const &x){ return self->insert(pos, x); } +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_1(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::iterator pos,std::vector< btllib::Minimizer >::size_type n,std::vector< btllib::Minimizer >::value_type const &x){ self->insert(pos, n, x); } namespace swig { template <> struct traits >, std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > > { @@ -22876,7 +22875,7 @@ SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_VectorUint64t) /* defines _wrap_delete_Ve SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -22885,12 +22884,12 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *ar arg2 = &self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_iterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_iterator" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_iterator" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = (swig::SwigPyIterator *)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__iterator(arg1,arg2); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = (swig::SwigPyIterator *)std_vector_Sl_btllib_Minimizer_Sg__iterator(arg1,arg2); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: @@ -22900,19 +22899,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; bool result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___nonzero__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___nonzero__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = (bool)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____nonzero__((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = (bool)std_vector_Sl_btllib_Minimizer_Sg____nonzero__((std::vector< btllib::Minimizer > const *)arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -22922,19 +22921,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; bool result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___bool__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___bool__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___bool__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = (bool)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____bool__((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = (bool)std_vector_Sl_btllib_Minimizer_Sg____bool__((std::vector< btllib::Minimizer > const *)arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -22944,19 +22943,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type result; + std::vector< btllib::Minimizer >::size_type result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___len__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___len__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___len__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____len__((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = std_vector_Sl_btllib_Minimizer_Sg____len__((std::vector< btllib::Minimizer > const *)arg1); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -22966,9 +22965,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *arg SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -22976,32 +22975,32 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject ptrdiff_t val3 ; int ecode3 = 0 ; PyObject *swig_obj[3] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *result = 0 ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___getslice__", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getslice__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getslice__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___getslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___getslice__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); try { - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)std_vector_Sl_btllib_Minimizer_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23010,9 +23009,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23021,23 +23020,23 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, int ecode3 = 0 ; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23052,10 +23051,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *arg4 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer >::difference_type arg3 ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23065,34 +23064,34 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, int res4 = SWIG_OLDOBJ ; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setslice__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setslice__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___setslice__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); { - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; res4 = swig::asptr(swig_obj[3], &ptr); if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setslice__" "', argument " "4"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &""'"); } arg4 = ptr; } try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)*arg4); + std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23129,17 +23128,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setslice__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)\n"); + " std::vector< btllib::Minimizer >::__setslice__(std::vector< btllib::Minimizer >::difference_type,std::vector< btllib::Minimizer >::difference_type)\n" + " std::vector< btllib::Minimizer >::__setslice__(std::vector< btllib::Minimizer >::difference_type,std::vector< btllib::Minimizer >::difference_type,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg3 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23149,23 +23148,23 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___delslice__", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delslice__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delslice__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delslice__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delslice__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___delslice__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer___delslice__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val3); + arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_btllib_Minimizer_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23180,26 +23179,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23214,18 +23213,18 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *result = 0 ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); @@ -23233,13 +23232,13 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P arg2 = (PySliceObject *) swig_obj[1]; } try { - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_0(arg1,arg2); + result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23248,19 +23247,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *arg3 = 0 ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); @@ -23268,18 +23267,18 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P arg2 = (PySliceObject *) swig_obj[1]; } { - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; res3 = swig::asptr(swig_obj[2], &ptr); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &""'"); } arg3 = ptr; } try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)*arg3); + std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_0(arg1,arg2,(std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23296,17 +23295,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); @@ -23314,7 +23313,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P arg2 = (PySliceObject *) swig_obj[1]; } try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_1(arg1,arg2); + std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_1(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23329,17 +23328,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___delitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); @@ -23347,7 +23346,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, P arg2 = (PySliceObject *) swig_obj[1]; } try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____delitem____SWIG_1(arg1,arg2); + std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_1(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23389,40 +23388,40 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___delitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__delitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__delitem__(PySliceObject *)\n"); + " std::vector< btllib::Minimizer >::__delitem__(std::vector< btllib::Minimizer >::difference_type)\n" + " std::vector< btllib::Minimizer >::__delitem__(PySliceObject *)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *result = 0 ; + std::vector< btllib::Minimizer >::value_type *result = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___getitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); try { - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1,arg2); + result = (std::vector< btllib::Minimizer >::value_type *) &std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Minimizer > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); - (void)swig::container_owner::Minimizer >::value_type>::category>::back_reference(resultobj, self); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + (void)swig::container_owner::value_type>::category>::back_reference(resultobj, self); return resultobj; fail: return NULL; @@ -23458,17 +23457,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__getitem__(PySliceObject *)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__getitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type) const\n"); + " std::vector< btllib::Minimizer >::__getitem__(PySliceObject *)\n" + " std::vector< btllib::Minimizer >::__getitem__(std::vector< btllib::Minimizer >::difference_type) const\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; @@ -23477,26 +23476,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P int res3 = 0 ; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer___setitem__" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); + arg3 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp3); try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_2(arg1,arg2,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg3); + std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_2(arg1,arg2,(btllib::Minimizer const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -23509,26 +23508,26 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type arg2 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::difference_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer___setitem__" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::difference_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23575,7 +23574,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject } if (!_v) goto check_3; { - int res = swig::asptr(argv[2], (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >**)(0)); + int res = swig::asptr(argv[2], (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >**)(0)); _v = SWIG_CheckState(res); } if (!_v) goto check_3; @@ -23592,34 +23591,34 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(PySliceObject *,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > const &)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(PySliceObject *)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::__setitem__(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::difference_type)\n"); + " std::vector< btllib::Minimizer >::__setitem__(PySliceObject *,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)\n" + " std::vector< btllib::Minimizer >::__setitem__(PySliceObject *)\n" + " std::vector< btllib::Minimizer >::__setitem__(std::vector< btllib::Minimizer >::difference_type,std::vector< btllib::Minimizer >::value_type const &)\n" + " std::vector< btllib::Minimizer >::__setitem__(std::vector< btllib::Minimizer >::difference_type)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type result; + std::vector< btllib::Minimizer >::value_type result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); try { - result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__pop(arg1); + result = std_vector_Sl_btllib_Minimizer_Sg__pop(arg1); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Minimizer >::value_type(static_cast< const std::vector< btllib::Minimizer >::value_type& >(result))), SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23628,8 +23627,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg2 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::value_type *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -23638,20 +23637,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_append" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_append" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_append" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp2); - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__append(arg1,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg2); + arg2 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp2); + std_vector_Sl_btllib_Minimizer_Sg__append(arg1,(btllib::Minimizer const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -23661,11 +23660,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; + std::vector< btllib::Minimizer > *result = 0 ; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + result = (std::vector< btllib::Minimizer > *)new std::vector< btllib::Minimizer >(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; @@ -23674,24 +23673,24 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobj SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = 0 ; + std::vector< btllib::Minimizer > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; + std::vector< btllib::Minimizer > *result = 0 ; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; res1 = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const &""'"); } arg1 = ptr; } - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + result = (std::vector< btllib::Minimizer > *)new std::vector< btllib::Minimizer >((std::vector< btllib::Minimizer > const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -23702,19 +23701,19 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobj SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; bool result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_empty", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_empty" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_empty" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = (bool)((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->empty(); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = (bool)((std::vector< btllib::Minimizer > const *)arg1)->empty(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -23724,19 +23723,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type result; + std::vector< btllib::Minimizer >::size_type result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_size" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_size" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = ((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->size(); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = ((std::vector< btllib::Minimizer > const *)arg1)->size(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -23746,8 +23745,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg2 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -23756,19 +23755,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_swap" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_swap" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 ); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Minimizer > &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_swap" "', argument " "2"" of type '" "std::vector< btllib::Minimizer > &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp2); + arg2 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp2); (arg1)->swap(*arg2); resultobj = SWIG_Py_Void(); return resultobj; @@ -23779,20 +23778,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; + std::vector< btllib::Minimizer >::iterator result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_begin", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_begin" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_begin" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -23802,20 +23801,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; + std::vector< btllib::Minimizer >::iterator result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_end", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_end" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_end" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); result = (arg1)->end(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -23825,20 +23824,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator result; + std::vector< btllib::Minimizer >::reverse_iterator result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rbegin", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rbegin" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rbegin" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); result = (arg1)->rbegin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::reverse_iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -23848,20 +23847,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator result; + std::vector< btllib::Minimizer >::reverse_iterator result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rend", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rend" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_rend" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); result = (arg1)->rend(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::reverse_iterator & >(result)), + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::reverse_iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -23871,17 +23870,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_clear", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_clear" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_clear" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; @@ -23892,20 +23891,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - SwigValueWrapper< std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > result; + SwigValueWrapper< std::allocator< btllib::Minimizer > > result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_get_allocator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_get_allocator" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_get_allocator" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = ((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::allocator_type(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = ((std::vector< btllib::Minimizer > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Minimizer >::allocator_type(static_cast< const std::vector< btllib::Minimizer >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_btllib__Minimizer_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23914,19 +23913,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg1 ; + std::vector< btllib::Minimizer >::size_type arg1 ; size_t val1 ; int ecode1 = 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; + std::vector< btllib::Minimizer > *result = 0 ; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg1 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val1); - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + arg1 = static_cast< std::vector< btllib::Minimizer >::size_type >(val1); + result = (std::vector< btllib::Minimizer > *)new std::vector< btllib::Minimizer >(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; @@ -23935,17 +23934,17 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobj SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_pop_back" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); (arg1)->pop_back(); resultobj = SWIG_Py_Void(); return resultobj; @@ -23956,24 +23955,24 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::size_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; int ecode2 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::size_type >(val2); (arg1)->resize(arg2); resultobj = SWIG_Py_Void(); return resultobj; @@ -23984,33 +23983,33 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssi SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::iterator arg2 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; + std::vector< btllib::Minimizer >::iterator result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); + swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_0(arg1,arg2); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), + result = std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_0(arg1,arg2); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24020,47 +24019,47 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg3 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::iterator arg2 ; + std::vector< btllib::Minimizer >::iterator arg3 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ; swig::SwigPyIterator *iter3 = 0 ; int res3 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; + std::vector< btllib::Minimizer >::iterator result; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_erase" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); + swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } res3 = SWIG_ConvertPtr(swig_obj[2], SWIG_as_voidptrptr(&iter3), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res3) || !iter3) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter3); + swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter3); if (iter_t) { arg3 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__erase__SWIG_1(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), + result = std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_1(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24090,38 +24089,38 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer_erase'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::erase(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::erase(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator)\n"); + " std::vector< btllib::Minimizer >::erase(std::vector< btllib::Minimizer >::iterator)\n" + " std::vector< btllib::Minimizer >::erase(std::vector< btllib::Minimizer >::iterator,std::vector< btllib::Minimizer >::iterator)\n"); return 0; } SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg1 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg2 = 0 ; + std::vector< btllib::Minimizer >::size_type arg1 ; + std::vector< btllib::Minimizer >::value_type *arg2 = 0 ; size_t val1 ; int ecode1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *result = 0 ; + std::vector< btllib::Minimizer > *result = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg1 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg1 = static_cast< std::vector< btllib::Minimizer >::size_type >(val1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_VectorMinimizer" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp2); - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *)new std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >(arg1,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); + arg2 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp2); + result = (std::vector< btllib::Minimizer > *)new std::vector< btllib::Minimizer >(arg1,(std::vector< btllib::Minimizer >::value_type const &)*arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; @@ -24169,18 +24168,18 @@ SWIGINTERN int _wrap_new_VectorMinimizer(PyObject *self, PyObject *args, PyObjec fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_VectorMinimizer'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector()\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const &)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::vector(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n"); + " std::vector< btllib::Minimizer >::vector()\n" + " std::vector< btllib::Minimizer >::vector(std::vector< btllib::Minimizer > const &)\n" + " std::vector< btllib::Minimizer >::vector(std::vector< btllib::Minimizer >::size_type)\n" + " std::vector< btllib::Minimizer >::vector(std::vector< btllib::Minimizer >::size_type,std::vector< btllib::Minimizer >::value_type const &)\n"); return -1; } SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg2 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::value_type *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; @@ -24189,20 +24188,20 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *a if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_push_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_push_back" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_push_back" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp2); - (arg1)->push_back((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg2); + arg2 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp2); + (arg1)->push_back((std::vector< btllib::Minimizer >::value_type const &)*arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24212,21 +24211,21 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *a SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *result = 0 ; + std::vector< btllib::Minimizer >::value_type *result = 0 ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_front", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_front" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_front" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *) &((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->front(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); - (void)swig::container_owner::Minimizer >::value_type>::category>::back_reference(resultobj, self); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = (std::vector< btllib::Minimizer >::value_type *) &((std::vector< btllib::Minimizer > const *)arg1)->front(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + (void)swig::container_owner::value_type>::category>::back_reference(resultobj, self); return resultobj; fail: return NULL; @@ -24235,21 +24234,21 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *result = 0 ; + std::vector< btllib::Minimizer >::value_type *result = 0 ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_back" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_back" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *) &((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->back(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); - (void)swig::container_owner::Minimizer >::value_type>::category>::back_reference(resultobj, self); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = (std::vector< btllib::Minimizer >::value_type *) &((std::vector< btllib::Minimizer > const *)arg1)->back(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + (void)swig::container_owner::value_type>::category>::back_reference(resultobj, self); return resultobj; fail: return NULL; @@ -24258,9 +24257,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::size_type arg2 ; + std::vector< btllib::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -24270,25 +24269,25 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args PyObject *swig_obj[3] ; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_assign", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_assign" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_assign" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_assign" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_assign" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); - res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg2 = static_cast< std::vector< btllib::Minimizer >::size_type >(val2); + res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_assign" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); - (arg1)->assign(arg2,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg3); + arg3 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp3); + (arg1)->assign(arg2,(std::vector< btllib::Minimizer >::value_type const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24298,9 +24297,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::size_type arg2 ; + std::vector< btllib::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -24309,25 +24308,25 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssi int res3 = 0 ; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_resize" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_resize" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg2 = static_cast< std::vector< btllib::Minimizer >::size_type >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_resize" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); - (arg1)->resize(arg2,(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)*arg3); + arg3 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp3); + (arg1)->resize(arg2,(std::vector< btllib::Minimizer >::value_type const &)*arg3); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24357,52 +24356,52 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer_resize'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::resize(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::resize(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n"); + " std::vector< btllib::Minimizer >::resize(std::vector< btllib::Minimizer >::size_type)\n" + " std::vector< btllib::Minimizer >::resize(std::vector< btllib::Minimizer >::size_type,std::vector< btllib::Minimizer >::value_type const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg3 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::iterator arg2 ; + std::vector< btllib::Minimizer >::value_type *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; int res2 ; void *argp3 = 0 ; int res3 = 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator result; + std::vector< btllib::Minimizer >::iterator result; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); + swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg3 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp3); - result = std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_0(arg1,arg2,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg3); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator & >(result)), + arg3 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp3); + result = std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_0(arg1,arg2,(btllib::Minimizer const &)*arg3); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -24412,10 +24411,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator arg2 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg3 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *arg4 = 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::iterator arg2 ; + std::vector< btllib::Minimizer >::size_type arg3 ; + std::vector< btllib::Minimizer >::value_type *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; swig::SwigPyIterator *iter2 = 0 ; @@ -24426,36 +24425,36 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi int res4 = 0 ; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_insert" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&iter2), swig::SwigPyIterator::descriptor(), 0); if (!SWIG_IsOK(res2) || !iter2) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } else { - swig::SwigPyIterator_T::Minimizer >::iterator > *iter_t = dynamic_cast::Minimizer >::iterator > *>(iter2); + swig::SwigPyIterator_T::iterator > *iter_t = dynamic_cast::iterator > *>(iter2); if (iter_t) { arg2 = iter_t->get_current(); } else { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_insert" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg3 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0); + arg3 = static_cast< std::vector< btllib::Minimizer >::size_type >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_btllib__Minimizer, 0 | 0); if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } - arg4 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type * >(argp4); - std_vector_Sl_btllib_Indexlr_Sl_btllib_NtHash_Sg__Minimizer_Sg__insert__SWIG_1(arg1,arg2,arg3,(btllib::Indexlr< btllib::NtHash >::Minimizer const &)*arg4); + arg4 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp4); + std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_1(arg1,arg2,arg3,(btllib::Minimizer const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24485,16 +24484,16 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer_insert'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::insert(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n" - " std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::insert(std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::iterator,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type const &)\n"); + " std::vector< btllib::Minimizer >::insert(std::vector< btllib::Minimizer >::iterator,std::vector< btllib::Minimizer >::value_type const &)\n" + " std::vector< btllib::Minimizer >::insert(std::vector< btllib::Minimizer >::iterator,std::vector< btllib::Minimizer >::size_type,std::vector< btllib::Minimizer >::value_type const &)\n"); return 0; } SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type arg2 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; + std::vector< btllib::Minimizer >::size_type arg2 ; void *argp1 = 0 ; int res1 = 0 ; size_t val2 ; @@ -24503,16 +24502,16 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *arg if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_reserve" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_reserve" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_reserve" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VectorMinimizer_reserve" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::size_type""'"); } - arg2 = static_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type >(val2); + arg2 = static_cast< std::vector< btllib::Minimizer >::size_type >(val2); (arg1)->reserve(arg2); resultobj = SWIG_Py_Void(); return resultobj; @@ -24523,19 +24522,19 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *arg SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::size_type result; + std::vector< btllib::Minimizer >::size_type result; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_capacity", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_capacity" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VectorMinimizer_capacity" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > const *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); - result = ((std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > const *)arg1)->capacity(); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); + result = ((std::vector< btllib::Minimizer > const *)arg1)->capacity(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -24545,17 +24544,17 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *ar SWIGINTERN PyObject *_wrap_delete_VectorMinimizer(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *arg1 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *) 0 ; + std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; if (!SWIG_Python_UnpackTuple(args, "delete_VectorMinimizer", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_VectorMinimizer" "', argument " "1"" of type '" "std::vector< btllib::Minimizer > *""'"); } - arg1 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > * >(argp1); + arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -26310,289 +26309,197 @@ SWIGPY_OBJOBJARGPROC_CLOSURE(_wrap_VectorSpacedSeed___setitem__) /* defines _wra SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_VectorSpacedSeed) /* defines _wrap_delete_VectorSpacedSeed_destructor_closure */ -SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_BIT_MASKS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::BIT_MASKS), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_KMER_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable KMER_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_KMER_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::KMER_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::SEED_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_HASH_FN_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable HASH_FN is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_HASH_FN_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::HASH_FN); - return pyobj; -} - - -SWIGINTERN int Swig_var_MAX_HASH_VALUES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MAX_HASH_VALUES is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MAX_HASH_VALUES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::MAX_HASH_VALUES)); - return pyobj; -} - - -SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES)); - return pyobj; -} - - -SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::BloomFilter *result = 0 ; + btllib::Minimizer *result = 0 ; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::BloomFilter *)new btllib::BloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::Minimizer *)new btllib::Minimizer(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - std::string arg3 ; - size_t val1 ; + uint64_t arg1 ; + uint64_t arg2 ; + size_t arg3 ; + bool arg4 ; + std::string arg5 ; + uint64_t val1 ; int ecode1 = 0 ; - unsigned int val2 ; + uint64_t val2 ; int ecode2 = 0 ; - btllib::BloomFilter *result = 0 ; + size_t val3 ; + int ecode3 = 0 ; + bool val4 ; + int ecode4 = 0 ; + btllib::Minimizer *result = 0 ; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); } - arg2 = static_cast< unsigned int >(val2); + arg2 = static_cast< uint64_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + } + arg4 = static_cast< bool >(val4); { std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BloomFilter" "', argument " "3"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); } - arg3 = *ptr; + arg5 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::Minimizer *)new btllib::Minimizer(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; + uint64_t arg1 ; + uint64_t arg2 ; + size_t arg3 ; + bool arg4 ; + std::string arg5 ; + std::string arg6 ; + uint64_t val1 ; int ecode1 = 0 ; - unsigned int val2 ; + uint64_t val2 ; int ecode2 = 0 ; - btllib::BloomFilter *result = 0 ; + size_t val3 ; + int ecode3 = 0 ; + bool val4 ; + int ecode4 = 0 ; + btllib::Minimizer *result = 0 ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::BloomFilter *result = 0 ; - - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + arg2 = static_cast< uint64_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + } + arg4 = static_cast< bool >(val4); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[5], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "6"" of type '" "std::string""'"); } - arg1 = ptr; + arg6 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::BloomFilter *)new btllib::BloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + result = (btllib::Minimizer *)new btllib::Minimizer(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[7] = { 0 }; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_BloomFilter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_BloomFilter__SWIG_3(self, argc, argv); + int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 2) { - int retval = _wrap_new_BloomFilter__SWIG_2(self, argc, argv); + if (argc == 5) { + int retval = _wrap_new_Minimizer__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 3) { - int retval = _wrap_new_BloomFilter__SWIG_1(self, argc, argv); + if (argc == 6) { + int retval = _wrap_new_Minimizer__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::BloomFilter()\n" - " btllib::BloomFilter::BloomFilter(size_t,unsigned int,std::string)\n" - " btllib::BloomFilter::BloomFilter(size_t,unsigned int)\n" - " btllib::BloomFilter::BloomFilter(std::string const &)\n"); + " btllib::Minimizer::Minimizer()\n" + " btllib::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n" + " btllib::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string,std::string)\n"); return -1; } -SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + uint64_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + uint64_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_set" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_min_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + if (arg1) (arg1)->min_hash = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -26600,98 +26507,177 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t } -SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + uint64_t result; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_get" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + result = (uint64_t) ((arg1)->min_hash); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + uint64_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + uint64_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_set" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_out_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + if (arg1) (arg1)->out_hash = arg2; resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_BloomFilter_insert__SWIG_0(self, argc, argv); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_get" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } -check_1: + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + result = (uint64_t) ((arg1)->out_hash); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_insert__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_set" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_pos_set" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->pos = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_get" "', argument " "1"" of type '" "btllib::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + result = ((arg1)->pos); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::insert(uint64_t const *)\n" - " btllib::BloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + bool arg2 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_set" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_forward_set" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + if (arg1) (arg1)->forward = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_get" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::BloomFilter const *)arg1)->contains((uint64_t const *)arg2); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + result = (bool) ((arg1)->forward); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -26699,34 +26685,35 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[2] ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_set" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (bool)((btllib::BloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (arg1) (arg1)->seq = *arg2; + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -26735,98 +26722,57 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_BloomFilter_contains__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_contains__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::contains(uint64_t const *) const\n" - " btllib::BloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_get" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + result = (std::string *) & ((arg1)->seq); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[2] ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_set" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (arg1) (arg1)->qual = *arg2; + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -26835,176 +26781,207 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, P } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_BloomFilter_contains_insert__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_contains_insert__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::contains_insert(uint64_t const *)\n" - " btllib::BloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - size_t result; + std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_get" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = ((btllib::BloomFilter const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + result = (std::string *) & ((arg1)->qual); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - uint64_t result; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Minimizer" "', argument " "1"" of type '" "btllib::Minimizer *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (uint64_t)((btllib::BloomFilter const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Minimizer * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ + +SWIGINTERN int _wrap_new_Record__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - double result; + btllib::Record *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (double)((btllib::BloomFilter const *)arg1)->get_occupancy(); - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::Record *)new btllib::Record(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Record, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - unsigned int result; + size_t arg1 ; + std::string arg2 ; + std::string arg3 ; + size_t arg4 ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > arg5 ; + size_t val1 ; + int ecode1 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::Record *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Record" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (unsigned int)((btllib::BloomFilter const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Record" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + { + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; + int res = swig::asptr(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "5"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >""'"); + } + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (btllib::Record *)new btllib::Record(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Record, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Record(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Record")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Record", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_Record__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 5) { + int retval = _wrap_new_Record__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Record'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::Record::Record()\n" + " btllib::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >)\n"); + return -1; +} + + +SWIGINTERN PyObject *_wrap_Record_num_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - double result; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_num_set" "', argument " "1"" of type '" "btllib::Record *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (double)((btllib::BloomFilter const *)arg1)->get_fpr(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Record_num_set" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->num = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Record_num_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::string *result = 0 ; + size_t result; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Record_num_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_num_get" "', argument " "1"" of type '" "btllib::Record *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (std::string *) &((btllib::BloomFilter const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::Record * >(argp1); + result = ((arg1)->num); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Record_id_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -27013,23 +26990,23 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_id_set" "', argument " "1"" of type '" "btllib::Record *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::Record * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Record_id_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Record_id_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->save((std::string const &)*arg2); + if (arg1) (arg1)->id = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -27039,293 +27016,511 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Record_id_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::Record *arg1 = (btllib::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - bool result; + std::string *result = 0 ; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "Record_id_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_id_get" "', argument " "1"" of type '" "btllib::Record *""'"); } - result = (bool)btllib::BloomFilter::is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::Record * >(argp1); + result = (std::string *) & ((arg1)->id); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Record_barcode_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; + void *argp1 = 0 ; + int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - bool result; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_barcode_set" "', argument " "1"" of type '" "btllib::Record *""'"); } + arg1 = reinterpret_cast< btllib::Record * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Record_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Record_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (bool)btllib::BloomFilter::check_file_signature((std::string const &)*arg1,(std::string const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + if (arg1) (arg1)->barcode = *arg2; + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Record_barcode_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; + std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Record_barcode_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BloomFilter" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_barcode_get" "', argument " "1"" of type '" "btllib::Record *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Record * >(argp1); + result = (std::string *) & ((arg1)->barcode); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BloomFilter) /* defines _wrap_delete_BloomFilter_destructor_closure */ - -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *result = 0 ; - - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Record_readlen_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::KmerBloomFilter *result = 0 ; + PyObject *swig_obj[2] ; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_readlen_set" "', argument " "1"" of type '" "btllib::Record *""'"); + } + arg1 = reinterpret_cast< btllib::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerBloomFilter" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Record_readlen_set" "', argument " "2"" of type '" "size_t""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->readlen = arg2; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Record_readlen_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::KmerBloomFilter *result = 0 ; - - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; -} - - -SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; + btllib::Record *arg1 = (btllib::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_KmerBloomFilter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_KmerBloomFilter__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int retval = _wrap_new_KmerBloomFilter__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "Record_readlen_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_readlen_get" "', argument " "1"" of type '" "btllib::Record *""'"); } - + arg1 = reinterpret_cast< btllib::Record * >(argp1); + result = ((arg1)->readlen); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerBloomFilter'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::KmerBloomFilter()\n" - " btllib::KmerBloomFilter::KmerBloomFilter(size_t,unsigned int,unsigned int)\n" - " btllib::KmerBloomFilter::KmerBloomFilter(std::string const &)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Record_minimizers_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *arg2 = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_minimizers_set" "', argument " "1"" of type '" "btllib::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + arg1 = reinterpret_cast< btllib::Record * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Record_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->insert((char const *)arg2,arg3); + arg2 = reinterpret_cast< std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > * >(argp2); + if (arg1) (arg1)->minimizers = *arg2; resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Record_minimizers_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Record_minimizers_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_minimizers_get" "', argument " "1"" of type '" "btllib::Record *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::Record * >(argp1); + result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)& ((arg1)->minimizers); + + resultobj = PyList_New(result->size()); + for (unsigned i = 0; i < result->size(); ++i) { + PyObject *item = SWIG_NewPointerObj(new btllib::Minimizer((*(result))[i]), SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_OWN); + PyList_SetItem(resultobj, i, item); + } + + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Record___nonzero__(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Record *arg1 = (btllib::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + if (!SWIG_Python_UnpackTuple(args, "Record___nonzero__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record___nonzero__" "', argument " "1"" of type '" "btllib::Record const *""'"); + } + arg1 = reinterpret_cast< btllib::Record * >(argp1); + result = (bool)((btllib::Record const *)arg1)->operator bool(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + PyErr_Clear(); + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN PyObject *_wrap_delete_Record(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Record *arg1 = (btllib::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_Record", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Record" "', argument " "1"" of type '" "btllib::Record *""'"); + } + arg1 = reinterpret_cast< btllib::Record * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_INQUIRY_CLOSURE(_wrap_Record___nonzero__) /* defines _wrap_Record___nonzero___inquiry_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Record) /* defines _wrap_delete_Record_destructor_closure */ + +SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_BIT_MASKS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::BIT_MASKS), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int Swig_var_KMER_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable KMER_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_KMER_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::KMER_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::SEED_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int Swig_var_HASH_FN_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable HASH_FN is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_HASH_FN_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::HASH_FN); + return pyobj; +} + + +SWIGINTERN int Swig_var_MAX_HASH_VALUES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MAX_HASH_VALUES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MAX_HASH_VALUES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::MAX_HASH_VALUES)); + return pyobj; +} + + +SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES)); + return pyobj; +} + + +SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::BloomFilter *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::BloomFilter *)new btllib::BloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::BloomFilter *result = 0 ; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BloomFilter" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::BloomFilter *result = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::BloomFilter *result = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } - arg2 = ptr; + arg1 = ptr; } - (arg1)->insert((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + result = (btllib::BloomFilter *)new btllib::BloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_BloomFilter__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 1) { + int retval = _wrap_new_BloomFilter__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_BloomFilter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { + int retval = _wrap_new_BloomFilter__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BloomFilter'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::BloomFilter()\n" + " btllib::BloomFilter::BloomFilter(size_t,unsigned int,std::string)\n" + " btllib::BloomFilter::BloomFilter(size_t,unsigned int)\n" + " btllib::BloomFilter::BloomFilter(std::string const &)\n"); + return -1; +} + + +SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -27333,14 +27528,14 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi int res2 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->insert((uint64_t const *)arg2); @@ -27351,28 +27546,28 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -27386,13 +27581,13 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -27402,111 +27597,82 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerBloomFilter_insert__SWIG_2(self, argc, argv); + return _wrap_BloomFilter_insert__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerBloomFilter_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_BloomFilter_insert__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::insert(char const *,size_t)\n" - " btllib::KmerBloomFilter::insert(std::string const &)\n" - " btllib::KmerBloomFilter::insert(uint64_t const *)\n" - " btllib::KmerBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::BloomFilter::insert(uint64_t const *)\n" + " btllib::BloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int result; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)((btllib::BloomFilter const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = (bool)((btllib::BloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -27515,9 +27681,44 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_BloomFilter_contains__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::contains(uint64_t const *) const\n" + " btllib::BloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -27526,17 +27727,17 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_s bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((uint64_t const *)arg2); + result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -27544,9 +27745,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -27554,23 +27755,23 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_s bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -27580,13 +27781,13 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[3] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -27596,252 +27797,40 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerBloomFilter_contains__SWIG_2(self, argc, argv); + return _wrap_BloomFilter_contains_insert__SWIG_0(self, argc, argv); } check_1: if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerBloomFilter_contains__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::contains(char const *,size_t) const\n" - " btllib::KmerBloomFilter::contains(std::string const &) const\n" - " btllib::KmerBloomFilter::contains(uint64_t const *) const\n" - " btllib::KmerBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int result; - - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int result; - - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; - - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; - - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerBloomFilter_contains_insert__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerBloomFilter_contains_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_BloomFilter_contains_insert__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::contains_insert(char const *,size_t)\n" - " btllib::KmerBloomFilter::contains_insert(std::string const &)\n" - " btllib::KmerBloomFilter::contains_insert(uint64_t const *)\n" - " btllib::KmerBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::BloomFilter::contains_insert(uint64_t const *)\n" + " btllib::BloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; size_t result; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = ((btllib::KmerBloomFilter const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = ((btllib::BloomFilter const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -27849,21 +27838,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; uint64_t result; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (uint64_t)((btllib::KmerBloomFilter const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (uint64_t)((btllib::BloomFilter const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -27871,21 +27860,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; double result; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (double)((btllib::KmerBloomFilter const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (double)((btllib::BloomFilter const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -27893,21 +27882,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (unsigned int)((btllib::BloomFilter const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -27915,21 +27904,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; double result; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (double)((btllib::KmerBloomFilter const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (double)((btllib::BloomFilter const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -27937,43 +27926,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - unsigned int result; - - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_k" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (std::string *) &((btllib::KmerBloomFilter const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (std::string *) &((btllib::BloomFilter const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -27981,31 +27948,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - btllib::BloomFilter *result = 0 ; - - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bloom_filter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (btllib::BloomFilter *) &(arg1)->get_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -28014,19 +27959,19 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_save" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -28040,7 +27985,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -28053,14 +27998,14 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObjec std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::KmerBloomFilter::is_bloom_file((std::string const &)*arg1); + result = (bool)btllib::BloomFilter::is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -28070,19 +28015,63 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::string *arg1 = 0 ; + std::string *arg2 = 0 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + bool result; + + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (bool)btllib::BloomFilter::check_file_signature((std::string const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerBloomFilter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BloomFilter" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -28091,93 +28080,78 @@ SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerBloomFilter) /* defines _wrap_delete_KmerBloomFilter_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BloomFilter) /* defines _wrap_delete_BloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *result = 0 ; + btllib::KmerBloomFilter *result = 0 ; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; - std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; - unsigned int arg4 ; + unsigned int arg3 ; size_t val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedBloomFilter *result = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::KmerBloomFilter *result = 0 ; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeedBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedBloomFilter" "', argument " "4"" of type '" "unsigned int""'"); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerBloomFilter" "', argument " "3"" of type '" "unsigned int""'"); } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res3)) delete arg3; + arg3 = static_cast< unsigned int >(val3); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res3)) delete arg3; return -1; } -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::SeedBloomFilter *result = 0 ; + btllib::KmerBloomFilter *result = 0 ; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -28186,44 +28160,44 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj } -SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[4] = { 0 }; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_SeedBloomFilter__SWIG_0(self, argc, argv); + int retval = _wrap_new_KmerBloomFilter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_SeedBloomFilter__SWIG_2(self, argc, argv); + int retval = _wrap_new_KmerBloomFilter__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 4) { - int retval = _wrap_new_SeedBloomFilter__SWIG_1(self, argc, argv); + if (argc == 3) { + int retval = _wrap_new_KmerBloomFilter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedBloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerBloomFilter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::SeedBloomFilter()\n" - " btllib::SeedBloomFilter::SeedBloomFilter(size_t,unsigned int,std::vector< std::string,std::allocator< std::string > > const &,unsigned int)\n" - " btllib::SeedBloomFilter::SeedBloomFilter(std::string const &)\n"); + " btllib::KmerBloomFilter::KmerBloomFilter()\n" + " btllib::KmerBloomFilter::KmerBloomFilter(size_t,unsigned int,unsigned int)\n" + " btllib::KmerBloomFilter::KmerBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -28235,19 +28209,19 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi int ecode3 = 0 ; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->insert((char const *)arg2,arg3); @@ -28260,28 +28234,28 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -28295,9 +28269,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -28305,14 +28279,14 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi int res2 = 0 ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->insert((uint64_t const *)arg2); @@ -28323,28 +28297,28 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -28358,13 +28332,13 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -28374,7 +28348,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_SeedBloomFilter_insert__SWIG_2(self, argc, argv); + return _wrap_KmerBloomFilter_insert__SWIG_2(self, argc, argv); } check_1: @@ -28385,35 +28359,35 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_SeedBloomFilter_insert__SWIG_1(self, argc, argv); + return _wrap_KmerBloomFilter_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::insert(char const *,size_t)\n" - " btllib::SeedBloomFilter::insert(std::string const &)\n" - " btllib::SeedBloomFilter::insert(uint64_t const *)\n" - " btllib::SeedBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerBloomFilter::insert(char const *,size_t)\n" + " btllib::KmerBloomFilter::insert(std::string const &)\n" + " btllib::KmerBloomFilter::insert(uint64_t const *)\n" + " btllib::KmerBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -28423,26 +28397,26 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_s int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + unsigned int result; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = ((btllib::SeedBloomFilter const *)arg1)->contains((char const *)arg2,arg3); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -28451,34 +28425,34 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + unsigned int result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = ((btllib::SeedBloomFilter const *)arg1)->contains((std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -28487,9 +28461,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -28498,17 +28472,17 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_s bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((uint64_t const *)arg2); + result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((uint64_t const *)arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -28516,9 +28490,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -28526,23 +28500,23 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_s bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -28552,13 +28526,13 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -28568,7 +28542,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_SeedBloomFilter_contains__SWIG_2(self, argc, argv); + return _wrap_KmerBloomFilter_contains__SWIG_2(self, argc, argv); } check_1: @@ -28579,35 +28553,35 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_SeedBloomFilter_contains__SWIG_1(self, argc, argv); + return _wrap_KmerBloomFilter_contains__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::contains(char const *,size_t) const\n" - " btllib::SeedBloomFilter::contains(std::string const &) const\n" - " btllib::SeedBloomFilter::contains(uint64_t const *) const\n" - " btllib::SeedBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::KmerBloomFilter::contains(char const *,size_t) const\n" + " btllib::KmerBloomFilter::contains(std::string const &) const\n" + " btllib::KmerBloomFilter::contains(uint64_t const *) const\n" + " btllib::KmerBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -28617,26 +28591,26 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *sel int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + unsigned int result; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (arg1)->contains_insert((char const *)arg2,arg3); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -28645,34 +28619,34 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *sel } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + unsigned int result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (arg1)->contains_insert((std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -28681,9 +28655,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -28692,14 +28666,14 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *sel bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); @@ -28710,9 +28684,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *sel } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -28720,19 +28694,19 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *sel bool result; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -28746,13 +28720,13 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -28762,7 +28736,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_SeedBloomFilter_contains_insert__SWIG_2(self, argc, argv); + return _wrap_KmerBloomFilter_contains_insert__SWIG_2(self, argc, argv); } check_1: @@ -28773,47 +28747,47 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_SeedBloomFilter_contains_insert__SWIG_1(self, argc, argv); + return _wrap_KmerBloomFilter_contains_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::contains_insert(char const *,size_t)\n" - " btllib::SeedBloomFilter::contains_insert(std::string const &)\n" - " btllib::SeedBloomFilter::contains_insert(uint64_t const *)\n" - " btllib::SeedBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerBloomFilter::contains_insert(char const *,size_t)\n" + " btllib::KmerBloomFilter::contains_insert(std::string const &)\n" + " btllib::KmerBloomFilter::contains_insert(uint64_t const *)\n" + " btllib::KmerBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; size_t result; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = ((btllib::SeedBloomFilter const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = ((btllib::KmerBloomFilter const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -28821,21 +28795,21 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; uint64_t result; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (uint64_t)((btllib::SeedBloomFilter const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (uint64_t)((btllib::KmerBloomFilter const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -28843,21 +28817,21 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; double result; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (double)((btllib::SeedBloomFilter const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (double)((btllib::KmerBloomFilter const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -28865,21 +28839,21 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_total_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_total_hash_num(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -28887,21 +28861,21 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, Py } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; double result; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (double)((btllib::SeedBloomFilter const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (double)((btllib::KmerBloomFilter const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -28909,109 +28883,21 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - unsigned int result; - - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_k" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; - - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *) &((btllib::SeedBloomFilter const *)arg1)->get_seeds(); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; - - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_parsed_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *) &((btllib::SeedBloomFilter const *)arg1)->get_parsed_seeds(); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - unsigned int result; - - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num_per_seed(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_k" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -29019,21 +28905,21 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::string *) &((btllib::SeedBloomFilter const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (std::string *) &((btllib::KmerBloomFilter const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -29041,31 +28927,31 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::KmerBloomFilter *result = 0 ; + btllib::BloomFilter *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_kmer_bloom_filter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bloom_filter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (btllib::KmerBloomFilter *) &(arg1)->get_kmer_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (btllib::BloomFilter *) &(arg1)->get_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29074,19 +28960,19 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_save" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_save" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -29100,7 +28986,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -29113,14 +28999,14 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObjec std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::SeedBloomFilter::is_bloom_file((std::string const &)*arg1); + result = (bool)btllib::KmerBloomFilter::is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -29130,19 +29016,19 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedBloomFilter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerBloomFilter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -29151,112 +29037,93 @@ SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedBloomFilter) /* defines _wrap_delete_SeedBloomFilter_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerBloomFilter) /* defines _wrap_delete_KmerBloomFilter_destructor_closure */ -SWIGINTERN int Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::COUNTING_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable KMER_COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::KMER_COUNTING_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + size_t arg1 ; unsigned int arg2 ; - unsigned int arg3 ; - int res1 = SWIG_OLDOBJ ; + std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; + unsigned int arg4 ; + size_t val1 ; + int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::SeqReader *result = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedBloomFilter *result = 0 ; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeedBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg1 = ptr; + arg3 = ptr; } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqReader" "', argument " "3"" of type '" "unsigned int""'"); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedBloomFilter" "', argument " "4"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res3)) delete arg3; return -1; } -SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; - unsigned int arg2 ; int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::SeqReader *result = 0 ; + btllib::SeedBloomFilter *result = 0 ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -29265,446 +29132,493 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO } -SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[5] = { 0 }; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; --argc; - if (argc == 2) { - int retval = _wrap_new_SeqReader__SWIG_1(self, argc, argv); + if (argc == 0) { + int retval = _wrap_new_SeedBloomFilter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 3) { - int retval = _wrap_new_SeqReader__SWIG_0(self, argc, argv); + if (argc == 1) { + int retval = _wrap_new_SeedBloomFilter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 4) { + int retval = _wrap_new_SeedBloomFilter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqReader'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedBloomFilter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeqReader::SeqReader(std::string const &,unsigned int,unsigned int)\n" - " btllib::SeqReader::SeqReader(std::string const &,unsigned int)\n"); + " btllib::SeedBloomFilter::SeedBloomFilter()\n" + " btllib::SeedBloomFilter::SeedBloomFilter(size_t,unsigned int,std::vector< std::string,std::allocator< std::string > > const &,unsigned int)\n" + " btllib::SeedBloomFilter::SeedBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReader" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->insert((char const *)arg2,arg3); resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + int res2 = SWIG_OLDOBJ ; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_close" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - (arg1)->close(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::string const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; + void *argp2 = 0 ; + int res2 = 0 ; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_fold_case" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->fold_case(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; + int res2 = SWIG_OLDOBJ ; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_trim_masked" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->trim_masked(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_short_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_SeedBloomFilter_insert__SWIG_2(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->short_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; +check_1: - if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_long_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_SeedBloomFilter_insert__SWIG_1(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->long_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - btllib::SeqReader::Format result; +check_2: - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_format" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (argc == 2) { + PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (btllib::SeqReader::Format)((btllib::SeqReader const *)arg1)->get_format(); - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; + if (argc == 3) { + PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedBloomFilter::insert(char const *,size_t)\n" + " btllib::SeedBloomFilter::insert(std::string const &)\n" + " btllib::SeedBloomFilter::insert(uint64_t const *)\n" + " btllib::SeedBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - btllib::SeqReader::Record result; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_read" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = ((btllib::SeedBloomFilter const *)arg1)->contains((char const *)arg2,arg3); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - SwigValueWrapper< btllib::SeqReader::RecordIterator > result; + int res2 = SWIG_OLDOBJ ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___iter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(static_cast< const btllib::SeqReader::RecordIterator& >(result))), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = ((btllib::SeedBloomFilter const *)arg1)->contains((std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - size_t result; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_buffer_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = ((btllib::SeqReader const *)arg1)->get_buffer_size(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - size_t result; + int res2 = SWIG_OLDOBJ ; + bool result; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_block_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = ((btllib::SeqReader const *)arg1)->get_block_size(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - btllib::SeqReader *result = 0 ; +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___enter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (btllib::SeqReader *)btllib_SeqReader___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[4] ; - - if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___exit__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_SeedBloomFilter_contains__SWIG_2(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_SeqReader___exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReader) /* defines _wrap_delete_SeqReader_destructor_closure */ - -SWIGPY_GETITERFUNC_CLOSURE(_wrap_SeqReader___iter__) /* defines _wrap_SeqReader___iter___getiterfunc_closure */ - -SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::SeqReader::Flag *result = 0 ; - - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; - result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; +check_1: - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderFlag" "', argument " "1"" of type '" "btllib::SeqReader::Flag *""'"); + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_SeedBloomFilter_contains__SWIG_1(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeqReader::Flag * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderFlag) /* defines _wrap_delete_SeqReaderFlag_destructor_closure */ - -SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; +check_2: - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + if (argc == 2) { + PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeqReaderRecord_num_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->num = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; + if (argc == 3) { + PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedBloomFilter::contains(char const *,size_t) const\n" + " btllib::SeedBloomFilter::contains(std::string const &) const\n" + " btllib::SeedBloomFilter::contains(uint64_t const *) const\n" + " btllib::SeedBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - size_t result; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = ((arg1)->num); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (arg1)->contains_insert((char const *)arg2,arg3); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->id = *arg2; - resultobj = SWIG_Py_Void(); + result = (arg1)->contains_insert((std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -29713,57 +29627,63 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - std::string *result = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->id); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + bool result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->comment = *arg2; - resultobj = SWIG_Py_Void(); + result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -29772,366 +29692,404 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_SeedBloomFilter_contains_insert__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_SeedBloomFilter_contains_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedBloomFilter::contains_insert(char const *,size_t)\n" + " btllib::SeedBloomFilter::contains_insert(std::string const &)\n" + " btllib::SeedBloomFilter::contains_insert(uint64_t const *)\n" + " btllib::SeedBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::string *result = 0 ; + size_t result; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->comment); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = ((btllib::SeedBloomFilter const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + uint64_t result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - if (arg1) (arg1)->seq = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (uint64_t)((btllib::SeedBloomFilter const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::string *result = 0 ; + double result; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->seq); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (double)((btllib::SeedBloomFilter const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + unsigned int result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_total_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - if (arg1) (arg1)->qual = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_total_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::string *result = 0 ; + double result; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->qual); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (double)((btllib::SeedBloomFilter const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - bool result; + unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord___nonzero__" "', argument " "1"" of type '" "btllib::SeqReader::Record const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_k" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (bool)((btllib::SeqReader::Record const *)arg1)->operator bool(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: - PyErr_Clear(); - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *result = 0 ; - - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; - result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecord" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *) &((btllib::SeedBloomFilter const *)arg1)->get_seeds(); + resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(*result)); return resultobj; fail: return NULL; } -SWIGPY_INQUIRY_CLOSURE(_wrap_SeqReaderRecord___nonzero__) /* defines _wrap_SeqReaderRecord___nonzero___inquiry_closure */ - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecord) /* defines _wrap_delete_SeqReaderRecord_destructor_closure */ - -SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::SeqReader::Record result; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecordIterator___next__" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); - { - result = (arg1)->next(); - if (!bool(result)) { - PyErr_SetNone(PyExc_StopIteration); - SWIG_fail; - } + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_parsed_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *) &((btllib::SeedBloomFilter const *)arg1)->get_parsed_seeds(); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; + unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecordIterator" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num_per_seed(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_SeqReaderRecordIterator___next__) /* defines _wrap_SeqReaderRecordIterator___next___iternextfunc_closure */ +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecordIterator) /* defines _wrap_delete_SeqReaderRecordIterator_destructor_closure */ -SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::string *) &((btllib::SeedBloomFilter const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::KmerBloomFilter *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_kmer_bloom_filter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (btllib::KmerBloomFilter *) &(arg1)->get_kmer_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; + void *argp1 = 0 ; + int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - std::vector< std::string,std::allocator< std::string > > result; - if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_save" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = btllib::split((std::string const &)*arg1,(std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - std::string *arg2 = 0 ; + std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - std::string result; + PyObject *swig_obj[1] ; + bool result; - if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - result = btllib::join((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(std::string const &)*arg2); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + result = (bool)btllib::SeedBloomFilter::is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedBloomFilter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::ltrim(*arg1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -30139,80 +30097,163 @@ SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj } -SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedBloomFilter) /* defines _wrap_delete_SeedBloomFilter_destructor_closure */ + +SWIGINTERN int Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::COUNTING_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable KMER_COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::KMER_COUNTING_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string *arg1 = 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + int res1 = SWIG_OLDOBJ ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::SeqReader *result = 0 ; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqReader" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; +} + + +SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + unsigned int arg2 ; + int res1 = SWIG_OLDOBJ ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::SeqReader *result = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::ltrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[2] = { + PyObject *argv[4] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_ltrim__SWIG_0(self, argc, argv); + if (argc == 2) { + int retval = _wrap_new_SeqReader__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } -check_1: - - if (argc == 1) { - PyObject *retobj = _wrap_ltrim__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 3) { + int retval = _wrap_new_SeqReader__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ltrim'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqReader'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ltrim(std::string &)\n" - " btllib::ltrim(btllib::CString &)\n"); - return 0; + " btllib::SeqReader::SeqReader(std::string const &,unsigned int,unsigned int)\n" + " btllib::SeqReader::SeqReader(std::string const &,unsigned int)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReader" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::rtrim(*arg1); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -30220,22 +30261,20 @@ SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj } -SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_close" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::rtrim(*arg1); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + (arg1)->close(); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -30243,429 +30282,285 @@ SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj } -SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[2] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_rtrim__SWIG_0(self, argc, argv); - } -check_1: +SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if (argc == 1) { - PyObject *retobj = _wrap_rtrim__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_fold_case" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->fold_case(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'rtrim'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::rtrim(std::string &)\n" - " btllib::rtrim(btllib::CString &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_trim_masked" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::trim(*arg1); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->trim_masked(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_short_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::trim(*arg1); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->short_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[2] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_trim__SWIG_0(self, argc, argv); - } -check_1: +SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if (argc == 1) { - PyObject *retobj = _wrap_trim__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_long_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->long_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'trim'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::trim(std::string &)\n" - " btllib::trim(btllib::CString &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; - std::string arg2 ; - PyObject *swig_obj[2] ; - bool result; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::SeqReader::Format result; - if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_format" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - result = (bool)btllib::startswith(arg1,arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (btllib::SeqReader::Format)((btllib::SeqReader const *)arg1)->get_format(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; - std::string arg2 ; - PyObject *swig_obj[2] ; - bool result; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::SeqReader::Record result; - if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_read" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - result = (bool)btllib::endswith(arg1,arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (arg1)->read(); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - std::string result; + SwigValueWrapper< btllib::SeqReader::RecordIterator > result; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___iter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - result = btllib::get_basename((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(static_cast< const btllib::SeqReader::RecordIterator& >(result))), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - std::string result; + size_t result; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_buffer_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - result = btllib::get_dirname((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = ((btllib::SeqReader const *)arg1)->get_buffer_size(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - size_t arg2 ; - size_t arg3 ; - int res1 = SWIG_OLDOBJ ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - double result; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_block_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "calc_phred_avg" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_From_double(static_cast< double >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = ((btllib::SeqReader const *)arg1)->get_block_size(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - size_t arg2 ; - int res1 = SWIG_OLDOBJ ; - size_t val2 ; - int ecode2 = 0 ; - double result; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::SeqReader *result = 0 ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___enter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2); - resultobj = SWIG_From_double(static_cast< double >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (btllib::SeqReader *)btllib_SeqReader___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - double result; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[4] ; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___exit__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - result = (double)btllib::calc_phred_avg((std::string const &)*arg1); - resultobj = SWIG_From_double(static_cast< double >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_SeqReader___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_calc_phred_avg(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "calc_phred_avg", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - PyObject *retobj = _wrap_calc_phred_avg__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_calc_phred_avg__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_calc_phred_avg__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'calc_phred_avg'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::calc_phred_avg(std::string const &,size_t,size_t)\n" - " btllib::calc_phred_avg(std::string const &,size_t)\n" - " btllib::calc_phred_avg(std::string const &)\n"); - return 0; -} +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReader) /* defines _wrap_delete_SeqReader_destructor_closure */ +SWIGPY_GETITERFUNC_CLOSURE(_wrap_SeqReader___iter__) /* defines _wrap_SeqReader___iter___getiterfunc_closure */ -SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; - PyObject *swig_obj[1] ; - btllib::Barrier *result = 0 ; + btllib::SeqReader::Flag *result = 0 ; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Barrier" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - result = (btllib::Barrier *)new btllib::Barrier(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Barrier, SWIG_BUILTIN_INIT | 0 ); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; + result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; + btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Barrier_wait" "', argument " "1"" of type '" "btllib::Barrier *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderFlag" "', argument " "1"" of type '" "btllib::SeqReader::Flag *""'"); } - arg1 = reinterpret_cast< btllib::Barrier * >(argp1); - (arg1)->wait(); + arg1 = reinterpret_cast< btllib::SeqReader::Flag * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -30673,20 +30568,31 @@ SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderFlag) /* defines _wrap_delete_SeqReaderFlag_destructor_closure */ + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + size_t arg2 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; - if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Barrier" "', argument " "1"" of type '" "btllib::Barrier *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::Barrier * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeqReaderRecord_num_set" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->num = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -30694,407 +30600,368 @@ SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Barrier) /* defines _wrap_delete_Barrier_destructor_closure */ +SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = ((arg1)->num); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} -SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - btllib::SeqWriter::Format arg2 ; - bool arg3 ; - int res1 = SWIG_OLDOBJ ; - int val2 ; - int ecode2 = 0 ; - bool val3 ; - int ecode3 = 0 ; - btllib::SeqWriter *result = 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; + arg2 = ptr; } - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); - } - arg2 = static_cast< btllib::SeqWriter::Format >(val2); - ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqWriter" "', argument " "3"" of type '" "bool""'"); - } - arg3 = static_cast< bool >(val3); - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + if (arg1) (arg1)->id = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - btllib::SeqWriter::Format arg2 ; - int res1 = SWIG_OLDOBJ ; - int val2 ; - int ecode2 = 0 ; - btllib::SeqWriter *result = 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); - } - arg2 = static_cast< btllib::SeqWriter::Format >(val2); - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->id); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::SeqWriter *result = 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; + arg2 = ptr; } - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + if (arg1) (arg1)->comment = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; -} - - -SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int retval = _wrap_new_SeqWriter__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int retval = _wrap_new_SeqWriter__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int retval = _wrap_new_SeqWriter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqWriter'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format,bool)\n" - " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format)\n" - " btllib::SeqWriter::SeqWriter(std::string const &)\n"); - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; + std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_close" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - (arg1)->close(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->comment); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; std::string *arg2 = 0 ; - std::string *arg3 = 0 ; - std::string *arg4 = 0 ; - std::string *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - int res4 = SWIG_OLDOBJ ; - int res5 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; - } - { - std::string *ptr = (std::string *)0; - res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - arg4 = ptr; - } - { - std::string *ptr = (std::string *)0; - res5 = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); - } - arg5 = ptr; - } - (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); + if (arg1) (arg1)->seq = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; return resultobj; fail: if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->seq); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; std::string *arg2 = 0 ; - std::string *arg3 = 0 ; - std::string *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - int res4 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; - } - { - std::string *ptr = (std::string *)0; - res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - arg4 = ptr; - } - (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4); + if (arg1) (arg1)->qual = *arg2; resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; +SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 4) { - PyObject *retobj = _wrap_SeqWriter_write__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - if (argc == 5) { - PyObject *retobj = _wrap_SeqWriter_write__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->qual); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord___nonzero__" "', argument " "1"" of type '" "btllib::SeqReader::Record const *""'"); } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (bool)((btllib::SeqReader::Record const *)arg1)->operator bool(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + PyErr_Clear(); + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *result = 0 ; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; + result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeqWriter_write'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &,std::string const &)\n" - " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::SeqWriter *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___enter__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecord" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - result = (btllib::SeqWriter *)btllib_SeqWriter___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { +SWIGPY_INQUIRY_CLOSURE(_wrap_SeqReaderRecord___nonzero__) /* defines _wrap_SeqReaderRecord___nonzero___inquiry_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecord) /* defines _wrap_delete_SeqReaderRecord_destructor_closure */ + +SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; + btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[4] ; + PyObject *swig_obj[1] ; + btllib::SeqReader::Record result; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___exit__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecordIterator___next__" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_SeqWriter___exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); + { + result = (arg1)->next(); + if (!bool(result)) { + PyErr_SetNone(PyExc_StopIteration); + SWIG_fail; + } + } + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqWriter" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecordIterator" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -31103,92 +30970,114 @@ SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqWriter) /* defines _wrap_delete_SeqWriter_destructor_closure */ - -SWIGINTERN int Swig_var_COMPLEMENTS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable COMPLEMENTS is read-only."); - return 1; -} +SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_SeqReaderRecordIterator___next__) /* defines _wrap_SeqReaderRecordIterator___next___iternextfunc_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecordIterator) /* defines _wrap_delete_SeqReaderRecordIterator_destructor_closure */ -SWIGINTERN PyObject *Swig_var_COMPLEMENTS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + std::string *arg2 = 0 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + std::vector< std::string,std::allocator< std::string > > result; - (void)self; + if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; { - size_t size = SWIG_strnlen(btllib::COMPLEMENTS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::COMPLEMENTS, size); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - return pyobj; -} - - -SWIGINTERN int Swig_var_AMINO_ACIDS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable AMINO_ACIDS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_AMINO_ACIDS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; { - size_t size = SWIG_strnlen(btllib::AMINO_ACIDS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::AMINO_ACIDS, size); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - return pyobj; -} - - -SWIGINTERN int Swig_var_CAPITALS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CAPITALS is read-only."); - return 1; + result = btllib::split((std::string const &)*arg1,(std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *Swig_var_CAPITALS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + std::string *arg2 = 0 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + std::string result; - (void)self; + if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; { - size_t size = SWIG_strnlen(btllib::CAPITALS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::CAPITALS, size); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg1 = ptr; } - return pyobj; + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = btllib::join((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - if (!args) SWIG_fail; - swig_obj[0] = args; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); } arg1 = reinterpret_cast< std::string * >(argp1); - btllib::reverse_complement(*arg1); + btllib::ltrim(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -31196,332 +31085,1389 @@ SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - std::string result; + btllib::CString *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - result = btllib::get_reverse_complement((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::ltrim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN int Swig_var_CP_OFF_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CP_OFF is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_CP_OFF_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; - (void)self; - pyobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(btllib::CP_OFF)); - return pyobj; + if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_ltrim__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 1) { + PyObject *retobj = _wrap_ltrim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ltrim'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ltrim(std::string &)\n" + " btllib::ltrim(btllib::CString &)\n"); + return 0; } -SWIGINTERN int Swig_var_MULTISHIFT_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MULTISHIFT is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::rtrim(*arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_MULTISHIFT_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CString *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::MULTISHIFT)); - return pyobj; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::rtrim(*arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_MULTISEED_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MULTISEED is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_rtrim__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 1) { + PyObject *retobj = _wrap_rtrim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'rtrim'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::rtrim(std::string &)\n" + " btllib::rtrim(btllib::CString &)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_MULTISEED_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::MULTISEED)); - return pyobj; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::trim(*arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_SEED_A_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_A is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CString *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::trim(*arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_A_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_A)); - return pyobj; + if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_trim__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 1) { + PyObject *retobj = _wrap_trim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'trim'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::trim(std::string &)\n" + " btllib::trim(btllib::CString &)\n"); + return 0; } -SWIGINTERN int Swig_var_SEED_C_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_C is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string arg1 ; + std::string arg2 ; + PyObject *swig_obj[2] ; + bool result; + + if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (bool)btllib::startswith(arg1,arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_C_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string arg1 ; + std::string arg2 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_C)); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (bool)btllib::endswith(arg1,arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_SEED_G_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_G is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = btllib::get_basename((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_G_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_G)); - return pyobj; + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = btllib::get_dirname((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN int Swig_var_SEED_T_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_T is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + size_t arg2 ; + size_t arg3 ; + int res1 = SWIG_OLDOBJ ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + double result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "calc_phred_avg" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_From_double(static_cast< double >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_T_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + size_t arg2 ; + int res1 = SWIG_OLDOBJ ; + size_t val2 ; + int ecode2 = 0 ; + double result; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_T)); - return pyobj; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2); + resultobj = SWIG_From_double(static_cast< double >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN int Swig_var_SEED_N_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_N is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + double result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "calc_phred_avg" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = (double)btllib::calc_phred_avg((std::string const &)*arg1); + resultobj = SWIG_From_double(static_cast< double >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_N_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_calc_phred_avg(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_N)); - return pyobj; + if (!(argc = SWIG_Python_UnpackTuple(args, "calc_phred_avg", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + PyObject *retobj = _wrap_calc_phred_avg__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_calc_phred_avg__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_calc_phred_avg__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'calc_phred_avg'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::calc_phred_avg(std::string const &,size_t,size_t)\n" + " btllib::calc_phred_avg(std::string const &,size_t)\n" + " btllib::calc_phred_avg(std::string const &)\n"); + return 0; } -SWIGINTERN int Swig_var_ASCII_SIZE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable ASCII_SIZE is read-only."); - return 1; +SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + unsigned int arg1 ; + unsigned int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + btllib::Barrier *result = 0 ; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Barrier" "', argument " "1"" of type '" "unsigned int""'"); + } + arg1 = static_cast< unsigned int >(val1); + result = (btllib::Barrier *)new btllib::Barrier(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Barrier, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_ASCII_SIZE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::ASCII_SIZE)); - return pyobj; +SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Barrier_wait" "', argument " "1"" of type '" "btllib::Barrier *""'"); + } + arg1 = reinterpret_cast< btllib::Barrier * >(argp1); + (arg1)->wait(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_SEED_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_TAB is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Barrier" "', argument " "1"" of type '" "btllib::Barrier *""'"); + } + arg1 = reinterpret_cast< btllib::Barrier * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_SEED_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Barrier) /* defines _wrap_delete_Barrier_destructor_closure */ + +SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + btllib::SeqWriter::Format arg2 ; + bool arg3 ; + int res1 = SWIG_OLDOBJ ; + int val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + btllib::SeqWriter *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::SEED_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); + } + arg2 = static_cast< btllib::SeqWriter::Format >(val2); + ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqWriter" "', argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN int Swig_var_A33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable A33R is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + btllib::SeqWriter::Format arg2 ; + int res1 = SWIG_OLDOBJ ; + int val2 ; + int ecode2 = 0 ; + btllib::SeqWriter *result = 0 ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); + } + arg2 = static_cast< btllib::SeqWriter::Format >(val2); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *Swig_var_A33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::SeqWriter *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN int Swig_var_A31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable A31L is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int retval = _wrap_new_SeqWriter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_SeqWriter__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { + int retval = _wrap_new_SeqWriter__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqWriter'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format,bool)\n" + " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format)\n" + " btllib::SeqWriter::SeqWriter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *Swig_var_A31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_close" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + } + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + (arg1)->close(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_C33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable C33R is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + std::string *arg2 = 0 ; + std::string *arg3 = 0 ; + std::string *arg4 = 0 ; + std::string *arg5 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + int res3 = SWIG_OLDOBJ ; + int res4 = SWIG_OLDOBJ ; + int res5 = SWIG_OLDOBJ ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + } + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + { + std::string *ptr = (std::string *)0; + res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + arg3 = ptr; + } + { + std::string *ptr = (std::string *)0; + res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + arg4 = ptr; + } + { + std::string *ptr = (std::string *)0; + res5 = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); + } + arg5 = ptr; + } + (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; + return NULL; } -SWIGINTERN PyObject *Swig_var_C33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + std::string *arg2 = 0 ; + std::string *arg3 = 0 ; + std::string *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + int res3 = SWIG_OLDOBJ ; + int res4 = SWIG_OLDOBJ ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + } + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + { + std::string *ptr = (std::string *)0; + res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + arg3 = ptr; + } + { + std::string *ptr = (std::string *)0; + res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + arg4 = ptr; + } + (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; } -SWIGINTERN int Swig_var_C31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable C31L is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 4) { + PyObject *retobj = _wrap_SeqWriter_write__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 5) { + PyObject *retobj = _wrap_SeqWriter_write__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeqWriter_write'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &,std::string const &)\n" + " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_C31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::SeqWriter *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___enter__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + } + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + result = (btllib::SeqWriter *)btllib_SeqWriter___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_G33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable G33R is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[4] ; + + if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___exit__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + } + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_SeqWriter___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_G33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqWriter" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + } + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_G31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable G31L is read-only."); +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqWriter) /* defines _wrap_delete_SeqWriter_destructor_closure */ + +SWIGINTERN int Swig_var_COMPLEMENTS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable COMPLEMENTS is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_G31L_get(void) { +SWIGINTERN PyObject *Swig_var_COMPLEMENTS_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G31L), SWIGTYPE_p_unsigned_long_long, 0 ); + { + size_t size = SWIG_strnlen(btllib::COMPLEMENTS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::COMPLEMENTS, size); + } return pyobj; } -SWIGINTERN int Swig_var_T33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable T33R is read-only."); +SWIGINTERN int Swig_var_AMINO_ACIDS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable AMINO_ACIDS is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_T33R_get(void) { +SWIGINTERN PyObject *Swig_var_AMINO_ACIDS_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T33R), SWIGTYPE_p_unsigned_long_long, 0 ); + { + size_t size = SWIG_strnlen(btllib::AMINO_ACIDS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::AMINO_ACIDS, size); + } return pyobj; } -SWIGINTERN int Swig_var_T31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable T31L is read-only."); +SWIGINTERN int Swig_var_CAPITALS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CAPITALS is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_T31L_get(void) { +SWIGINTERN PyObject *Swig_var_CAPITALS_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T31L), SWIGTYPE_p_unsigned_long_long, 0 ); + { + size_t size = SWIG_strnlen(btllib::CAPITALS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::CAPITALS, size); + } return pyobj; } -SWIGINTERN int Swig_var_N33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable N33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_N33R_get(void) { - PyObject *pyobj = 0; +SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::reverse_complement(*arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; + + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + result = btllib::get_reverse_complement((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; +} + + +SWIGINTERN int Swig_var_CP_OFF_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CP_OFF is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_CP_OFF_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(btllib::CP_OFF)); + return pyobj; +} + + +SWIGINTERN int Swig_var_MULTISHIFT_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MULTISHIFT is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MULTISHIFT_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_int(static_cast< int >(btllib::MULTISHIFT)); + return pyobj; +} + + +SWIGINTERN int Swig_var_MULTISEED_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MULTISEED is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MULTISEED_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::MULTISEED)); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_A_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_A is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_A_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_A)); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_C_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_C is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_C_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_C)); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_G_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_G is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_G_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_G)); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_T_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_T is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_T_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_T)); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_N_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_N is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_N_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_N)); + return pyobj; +} + + +SWIGINTERN int Swig_var_ASCII_SIZE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable ASCII_SIZE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_ASCII_SIZE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_From_int(static_cast< int >(btllib::ASCII_SIZE)); + return pyobj; +} + + +SWIGINTERN int Swig_var_SEED_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::SEED_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_A33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable A33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_A33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_A31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable A31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_A31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_C33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable C33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_C33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_C31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable C31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_C31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_G33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable G33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_G33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_G31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable G31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_G31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_T33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable T33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_T33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_T31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable T31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_T31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_N33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable N33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_N33R_get(void) { + PyObject *pyobj = 0; PyObject *self = 0; (void)self; @@ -54724,2010 +55670,520 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_0(PyObject *s if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); - } - temp3 = static_cast< unsigned int >(val3); - arg3 = &temp3; - (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned int const &)*arg3); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - unsigned int *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - unsigned int temp3 ; - unsigned int val3 ; - int ecode3 = 0 ; - - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); - } - temp3 = static_cast< unsigned int >(val3); - arg3 = &temp3; - (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned int const &)*arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_saturation", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 3) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_1: - - if (argc == 3) { - PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_saturation'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::MIBloomFilter< uint32_t >::insert_saturation(uint64_t const *,unsigned int const &)\n" - " btllib::MIBloomFilter< uint32_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_save(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->save((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - uint64_t result; - - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (uint64_t)(arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_saturated_cnt(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - uint64_t result; - - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (uint64_t)(arg1)->get_pop_saturated_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - unsigned int result; - - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_k(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - unsigned int result; - - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::string *result = 0 ; - - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - result = (std::string *) &((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id_occurence_count(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - bool *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool temp2 ; - bool val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); - } - temp2 = static_cast< bool >(val2); - arg2 = &temp2; - result = (arg1)->get_id_occurence_count((bool const &)*arg2); - { - const std::vector& vec = result; - resultobj = PyList_New(vec.size()); - for (unsigned i = 0; i < vec.size(); ++i) { - PyObject *item = PyLong_FromUnsignedLong(vec[i]); - PyList_SetItem(resultobj, i, item); - } - } - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_MIBloomFilter32_calc_optimal_size(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - double arg3 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - double val3 ; - int ecode3 = 0 ; - PyObject *swig_obj[3] ; - size_t result; - - if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "3"" of type '" "double""'"); - } - arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_MIBloomFilter32(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - - if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter32", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter32" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter32) /* defines _wrap_delete_MIBloomFilter32_destructor_closure */ - -SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_id" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_id(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_bx" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_bx(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_seq" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_seq(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_qual" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_qual(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_in" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->filter_in(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_out" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->filter_out(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_short_mode" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->short_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_long_mode" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->long_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - btllib::Indexlr< btllib::NtHash >::Record result; - - if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_read" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::Record(static_cast< const btllib::Indexlr< btllib::NtHash >::Record& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - btllib::BloomFilter *arg7 = 0 ; - btllib::BloomFilter *arg8 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7,(btllib::BloomFilter const &)*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - btllib::BloomFilter *arg7 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - btllib::BloomFilter *arg8 = 0 ; - btllib::BloomFilter *arg9 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); - } - arg9 = reinterpret_cast< btllib::BloomFilter * >(argp9); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8,(btllib::BloomFilter const &)*arg9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - btllib::BloomFilter *arg8 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + arg2 = reinterpret_cast< uint64_t * >(argp2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); } - arg5 = static_cast< unsigned int >(val5); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + temp3 = static_cast< unsigned int >(val3); + arg3 = &temp3; + (arg1)->insert_saturation((uint64_t const *)arg2,(unsigned int const &)*arg3); + resultobj = SWIG_Py_Void(); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + unsigned int *arg3 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int temp3 ; + unsigned int val3 ; int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_insert_saturation" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_insert_saturation" "', argument " "3"" of type '" "unsigned int""'"); } - arg4 = static_cast< size_t >(val4); - result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + temp3 = static_cast< unsigned int >(val3); + arg3 = &temp3; + (arg1)->insert_saturation((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2,(unsigned int const &)*arg3); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[10] = { + PyObject *argv[4] = { 0 }; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; - --argc; + if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_saturation", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; if (argc == 3) { - int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_2; - return _wrap_new_Indexlr__SWIG_4(self, argc, argv); - } -check_2: - - if (argc == 4) { - int retval = _wrap_new_Indexlr__SWIG_11(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_4: - - if (argc == 5) { - int retval = _wrap_new_Indexlr__SWIG_10(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 6) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - return _wrap_new_Indexlr__SWIG_2(self, argc, argv); - } -check_6: - - if (argc == 6) { - int retval = _wrap_new_Indexlr__SWIG_9(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 7) { int _v = 0; { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_8; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_8; - { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_8; - return _wrap_new_Indexlr__SWIG_1(self, argc, argv); - } -check_8: - - if (argc == 7) { - int retval = _wrap_new_Indexlr__SWIG_8(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 8) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_10; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_10; - { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); _v = SWIG_CheckState(res); } - if (!_v) goto check_10; - int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (!_v) goto check_1; + PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } -check_10: +check_1: - if (argc == 8) { - int retval = _wrap_new_Indexlr__SWIG_7(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 9) { - int retval = _wrap_new_Indexlr__SWIG_6(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 3) { + PyObject *retobj = _wrap_MIBloomFilter32_insert_saturation__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'MIBloomFilter32_insert_saturation'.\n" " Possible C/C++ prototypes are:\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int)\n" - " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t)\n"); - return -1; + " btllib::MIBloomFilter< uint32_t >::insert_saturation(uint64_t const *,unsigned int const &)\n" + " btllib::MIBloomFilter< uint32_t >::insert_saturation(std::vector< uint64_t,std::allocator< uint64_t > > const &,unsigned int const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_DISOWN | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Indexlr" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_save" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - delete arg1; + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "MIBloomFilter32_save" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->save((std::string const &)*arg2); resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; + uint64_t result; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_close" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - (arg1)->close(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (uint64_t)(arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_saturated_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - SwigValueWrapper< btllib::Indexlr< btllib::NtHash >::RecordIterator > result; + uint64_t result; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___iter__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_pop_saturated_cnt" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::RecordIterator(static_cast< const btllib::Indexlr< btllib::NtHash >::RecordIterator& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (uint64_t)(arg1)->get_pop_saturated_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::Indexlr< btllib::NtHash > *result = 0 ; + unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___enter__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_num" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - result = (btllib::Indexlr< btllib::NtHash > *)btllib_Indexlr_Sl_btllib_NtHash_Sg____enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[4] ; + PyObject *swig_obj[1] ; + unsigned int result; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___exit__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_k" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_Indexlr_Sl_btllib_NtHash_Sg____exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (unsigned int)((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Indexlr) /* defines _wrap_delete_Indexlr_destructor_closure */ - -SWIGPY_GETITERFUNC_CLOSURE(_wrap_Indexlr___iter__) /* defines _wrap_Indexlr___iter___getiterfunc_closure */ - -SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Flag *result = 0 ; - - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; - result = (btllib::Indexlr< btllib::NtHash >::Flag *)new btllib::Indexlr< btllib::NtHash >::Flag(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_fn(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Flag *arg1 = (btllib::Indexlr< btllib::NtHash >::Flag *) 0 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; + std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrFlag" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Flag *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_hash_fn" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Flag * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + result = (std::string *) &((btllib::MIBloomFilter< uint32_t > const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrFlag) /* defines _wrap_delete_IndexlrFlag_destructor_closure */ - -SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *result = 0 ; - - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::Indexlr< btllib::NtHash >::Minimizer *)new btllib::Indexlr< btllib::NtHash >::Minimizer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id_occurence_count(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t arg2 ; - size_t arg3 ; - bool arg4 ; - std::string arg5 ; - uint64_t val1 ; - int ecode1 = 0 ; - uint64_t val2 ; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + bool *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool temp2 ; + bool val2 ; int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - bool val4 ; - int ecode4 = 0 ; - btllib::Indexlr< btllib::NtHash >::Minimizer *result = 0 ; + PyObject *swig_obj[2] ; + SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_get_id_occurence_count" "', argument " "2"" of type '" "bool""'"); } - arg4 = static_cast< bool >(val4); + temp2 = static_cast< bool >(val2); + arg2 = &temp2; + result = (arg1)->get_id_occurence_count((bool const &)*arg2); { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); + const std::vector& vec = result; + resultobj = PyList_New(vec.size()); + for (unsigned i = 0; i < vec.size(); ++i) { + PyObject *item = PyLong_FromUnsignedLong(vec[i]); + PyList_SetItem(resultobj, i, item); } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::Indexlr< btllib::NtHash >::Minimizer *)new btllib::Indexlr< btllib::NtHash >::Minimizer(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_MIBloomFilter32_calc_optimal_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t arg2 ; - size_t arg3 ; - bool arg4 ; - std::string arg5 ; - std::string arg6 ; - uint64_t val1 ; + size_t arg1 ; + unsigned int arg2 ; + double arg3 ; + size_t val1 ; int ecode1 = 0 ; - uint64_t val2 ; + unsigned int val2 ; int ecode2 = 0 ; - size_t val3 ; + double val3 ; int ecode3 = 0 ; - bool val4 ; - int ecode4 = 0 ; - btllib::Indexlr< btllib::NtHash >::Minimizer *result = 0 ; + PyObject *swig_obj[3] ; + size_t result; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "1"" of type '" "size_t""'"); } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "2"" of type '" "unsigned int""'"); } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_double(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "3"" of type '" "double""'"); } - arg4 = static_cast< bool >(val4); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); - } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[5], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "6"" of type '" "std::string""'"); - } - arg6 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (btllib::Indexlr< btllib::NtHash >::Minimizer *)new btllib::Indexlr< btllib::NtHash >::Minimizer(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + arg3 = static_cast< double >(val3); + result = btllib::MIBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[7] = { - 0 - }; +SWIGINTERN PyObject *_wrap_delete_MIBloomFilter32(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int retval = _wrap_new_Minimizer__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 6) { - int retval = _wrap_new_Minimizer__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter32", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_MIBloomFilter32" "', argument " "1"" of type '" "btllib::MIBloomFilter< uint32_t > *""'"); } - + arg1 = reinterpret_cast< btllib::MIBloomFilter< uint32_t > * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::Indexlr< btllib::NtHash >::Minimizer::Minimizer()\n" - " btllib::Indexlr< btllib::NtHash >::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n" - " btllib::Indexlr< btllib::NtHash >::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string,std::string)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_MIBloomFilter32) /* defines _wrap_delete_MIBloomFilter32_destructor_closure */ + +SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - uint64_t arg2 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + bool result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_id" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_min_hash_set" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - if (arg1) (arg1)->min_hash = arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_id(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - uint64_t result; + bool result; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_bx" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - result = (uint64_t) ((arg1)->min_hash); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_bx(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - uint64_t arg2 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + bool result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_seq" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_out_hash_set" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - if (arg1) (arg1)->out_hash = arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_seq(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - uint64_t result; + bool result; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_qual" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - result = (uint64_t) ((arg1)->out_hash); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->output_qual(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - size_t arg2 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + bool result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_in" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_pos_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->pos = arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->filter_in(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - size_t result; + bool result; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_out" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - result = ((arg1)->pos); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->filter_out(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - bool arg2 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + bool result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_short_mode" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_forward_set" "', argument " "2"" of type '" "bool""'"); - } - arg2 = static_cast< bool >(val2); - if (arg1) (arg1)->forward = arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->short_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; bool result; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_long_mode" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - result = (bool) ((arg1)->forward); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (bool)((btllib::Indexlr< btllib::NtHash > const *)arg1)->long_mode(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -56735,492 +56191,1072 @@ SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - std::string *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + btllib::Record result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_read" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (arg1)->read(); + resultobj = SWIG_NewPointerObj((new btllib::Record(static_cast< const btllib::Record& >(result))), SWIGTYPE_p_btllib__Record, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + btllib::BloomFilter *arg7 = 0 ; + btllib::BloomFilter *arg8 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7,(btllib::BloomFilter const &)*arg8); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + btllib::BloomFilter *arg7 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg2 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - if (arg1) (arg1)->seq = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::string *result = 0 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - result = (std::string *) & ((arg1)->seq); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg2 = ptr; + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - if (arg1) (arg1)->qual = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::string *result = 0 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + btllib::BloomFilter *arg8 = 0 ; + btllib::BloomFilter *arg9 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - result = (std::string *) & ((arg1)->qual); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp9) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + } + arg9 = reinterpret_cast< btllib::BloomFilter * >(argp9); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8,(btllib::BloomFilter const &)*arg9); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Minimizer *arg1 = (btllib::Indexlr< btllib::NtHash >::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + btllib::BloomFilter *arg8 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Minimizer" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Minimizer *""'"); + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Minimizer * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ - -SWIGINTERN PyObject *_wrap_new_Record__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *result = 0 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::Indexlr< btllib::NtHash >::Record *)new btllib::Indexlr< btllib::NtHash >::Record(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - std::string arg2 ; - std::string arg3 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; size_t arg4 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > arg5 ; - size_t val1 ; - int ecode1 = 0 ; + unsigned int arg5 ; + unsigned int arg6 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; size_t val4 ; int ecode4 = 0 ; - btllib::Indexlr< btllib::NtHash >::Record *result = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Record" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; { std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "2"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg2 = *ptr; + arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "3"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg3 = *ptr; + arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Record" "', argument " "4"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::Indexlr< btllib::NtHash > *result = 0 ; + + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *ptr = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)0; - int res = swig::asptr(swig_obj[4], &ptr); + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "5"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); } - arg5 = *ptr; + arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (btllib::Indexlr< btllib::NtHash >::Record *)new btllib::Indexlr< btllib::NtHash >::Record(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + result = (btllib::Indexlr< btllib::NtHash > *)new btllib::Indexlr< btllib::NtHash >(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_new_Record(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[6] = { + PyObject *argv[10] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Record", 0, 5, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; --argc; - if (argc == 0) { - PyObject *retobj = _wrap_new_Record__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 3) { + int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 4) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_2; + return _wrap_new_Indexlr__SWIG_4(self, argc, argv); + } +check_2: + + if (argc == 4) { + int retval = _wrap_new_Indexlr__SWIG_11(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 5) { - PyObject *retobj = _wrap_new_Record__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } +check_4: -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Record'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::Indexlr< btllib::NtHash >::Record::Record()\n" - " btllib::Indexlr< btllib::NtHash >::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > >)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + if (argc == 5) { + int retval = _wrap_new_Indexlr__SWIG_10(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_num_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->num = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - size_t result; + if (argc == 6) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + return _wrap_new_Indexlr__SWIG_2(self, argc, argv); + } +check_6: - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + if (argc == 6) { + int retval = _wrap_new_Indexlr__SWIG_9(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - result = ((arg1)->num); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + if (argc == 7) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_8; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_8; + { + int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_8; + return _wrap_new_Indexlr__SWIG_1(self, argc, argv); + } +check_8: - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + if (argc == 7) { + int retval = _wrap_new_Indexlr__SWIG_8(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + if (argc == 8) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + if (!_v) goto check_10; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } } - arg2 = ptr; + if (!_v) goto check_10; + { + int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_10; + int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - if (arg1) (arg1)->id = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::string *result = 0 ; +check_10: - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + if (argc == 8) { + int retval = _wrap_new_Indexlr__SWIG_7(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - result = (std::string *) & ((arg1)->id); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; + if (argc == 9) { + int retval = _wrap_new_Indexlr__SWIG_6(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t,unsigned int)\n" + " btllib::Indexlr< btllib::NtHash >::Indexlr(std::string,size_t,size_t,size_t)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - std::string *arg2 = 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Indexlr" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - if (arg1) (arg1)->barcode = *arg2; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - std::string *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_close" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - result = (std::string *) & ((arg1)->barcode); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + (arg1)->close(); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - size_t arg2 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + SwigValueWrapper< btllib::Indexlr< btllib::NtHash >::RecordIterator > result; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___iter__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_readlen_set" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->readlen = arg2; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::RecordIterator(static_cast< const btllib::Indexlr< btllib::NtHash >::RecordIterator& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - size_t result; + btllib::Indexlr< btllib::NtHash > *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___enter__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - result = ((arg1)->readlen); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + result = (btllib::Indexlr< btllib::NtHash > *)btllib_Indexlr_Sl_btllib_NtHash_Sg____enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *arg2 = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *) 0 ; + btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[4] ; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_set" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___exit__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash > *""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > * >(argp2); - if (arg1) (arg1)->minimizers = *arg2; + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_Indexlr_Sl_btllib_NtHash_Sg____exit__(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -57228,71 +57264,37 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *result = 0 ; - - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_get" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - result = (std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *)& ((arg1)->minimizers); - - resultobj = PyList_New(result->size()); - for (unsigned i = 0; i < result->size(); ++i) { - PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*(result))[i]), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_OWN); - PyList_SetItem(resultobj, i, item); - } - - return resultobj; -fail: - return NULL; -} +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Indexlr) /* defines _wrap_delete_Indexlr_destructor_closure */ +SWIGPY_GETITERFUNC_CLOSURE(_wrap_Indexlr___iter__) /* defines _wrap_Indexlr___iter___getiterfunc_closure */ -SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - bool result; + btllib::Indexlr< btllib::NtHash >::Flag *result = 0 ; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord___nonzero__" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); - result = (bool)((btllib::Indexlr< btllib::NtHash >::Record const *)arg1)->operator bool(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; + result = (btllib::Indexlr< btllib::NtHash >::Flag *)new btllib::Indexlr< btllib::NtHash >::Flag(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - PyErr_Clear(); - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; + return -1; } -SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr< btllib::NtHash >::Record *arg1 = (btllib::Indexlr< btllib::NtHash >::Record *) 0 ; + btllib::Indexlr< btllib::NtHash >::Flag *arg1 = (btllib::Indexlr< btllib::NtHash >::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecord" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrFlag" "', argument " "1"" of type '" "btllib::Indexlr< btllib::NtHash >::Flag *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Record * >(argp1); + arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash >::Flag * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -57301,9 +57303,7 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) } -SWIGPY_INQUIRY_CLOSURE(_wrap_IndexlrRecord___nonzero__) /* defines _wrap_IndexlrRecord___nonzero___inquiry_closure */ - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecord) /* defines _wrap_delete_IndexlrRecord_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrFlag) /* defines _wrap_delete_IndexlrFlag_destructor_closure */ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; @@ -57311,7 +57311,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObje void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::Indexlr< btllib::NtHash >::Record result; + btllib::Record result; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, 0 | 0 ); @@ -57326,7 +57326,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObje SWIG_fail; } } - resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::Record(static_cast< const btllib::Indexlr< btllib::NtHash >::Record& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Record(static_cast< const btllib::Record& >(result))), SWIGTYPE_p_btllib__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -57454,7 +57454,6 @@ static PyMethodDef SwigMethods[] = { { "MIBloomFilter8_calc_optimal_size", _wrap_MIBloomFilter8_calc_optimal_size, METH_VARARGS, NULL}, { "MIBloomFilter16_calc_optimal_size", _wrap_MIBloomFilter16_calc_optimal_size, METH_VARARGS, NULL}, { "MIBloomFilter32_calc_optimal_size", _wrap_MIBloomFilter32_calc_optimal_size, METH_VARARGS, NULL}, - { "new_Record", _wrap_new_Record, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; @@ -57554,7 +57553,6 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "MIBloomFilter8_calc_optimal_size", _wrap_MIBloomFilter8_calc_optimal_size, METH_VARARGS, NULL}, { "MIBloomFilter16_calc_optimal_size", _wrap_MIBloomFilter16_calc_optimal_size, METH_VARARGS, NULL}, { "MIBloomFilter32_calc_optimal_size", _wrap_MIBloomFilter32_calc_optimal_size, METH_VARARGS, NULL}, - { "new_Record", _wrap_new_Record, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; @@ -60418,13 +60416,13 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_uint64_t_t_type}; static SwigPyGetSet VectorMinimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_getset[] = { +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorMinimizer___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -60437,7 +60435,7 @@ SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_richc return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_methods[] = { { "iterator", _wrap_VectorMinimizer_iterator, METH_NOARGS, "" }, { "__nonzero__", _wrap_VectorMinimizer___nonzero__, METH_NOARGS, "" }, { "__bool__", _wrap_VectorMinimizer___bool__, METH_NOARGS, "" }, @@ -60472,7 +60470,7 @@ SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHa { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -60493,30 +60491,30 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtH (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >",/* tp_doc */ + "std::vector< btllib::Minimizer >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ _wrap_VectorMinimizer_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_methods,/* tp_methods */ + SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_getset,/* tp_getset */ + SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ @@ -60658,7 +60656,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtH #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type}; static SwigPyGetSet VectorSpacedSeed___dict___getset = { SwigPyObject_get___dict__, 0 }; SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_getset[] = { @@ -60903,14 +60901,26 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type}; -static SwigPyGetSet BloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BloomFilter___dict___getset }, +static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; +static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; +static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; +static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; +static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; +static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Minimizer_getset[] = { + { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, + { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, + { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, + { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, + { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Minimizer_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -60923,23 +60933,11 @@ SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BloomFilter_methods[] = { - { "insert", _wrap_BloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_BloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_BloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_BloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_BloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_BloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_hash_num", _wrap_BloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_BloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_BloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_BloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_BloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, - { "check_file_signature", (PyCFunction)(void(*)(void))_wrap_BloomFilter_check_file_signature, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Minimizer_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Minimizer_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -60947,10 +60945,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.BloomFilter", /* tp_name */ + "btllib.Minimizer", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ + _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -60960,36 +60958,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Minimizer_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Minimizer_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Minimizer_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Minimizer_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::BloomFilter", /* tp_doc */ + "btllib::Minimizer", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__BloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Minimizer_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__BloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Minimizer_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__BloomFilter_getset,/* tp_getset */ + SwigPyBuiltin__btllib__Minimizer_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_BloomFilter, /* tp_init */ + _wrap_new_Minimizer, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -61125,16 +61123,26 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; - -static SwigPyGetSet KmerBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerBloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerBloomFilter___dict___getset }, +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Minimizer_type}; + +static SwigPyGetSet Record_minimizers_getset = { _wrap_Record_minimizers_get, _wrap_Record_minimizers_set }; +static SwigPyGetSet Record___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Record_num_getset = { _wrap_Record_num_get, _wrap_Record_num_set }; +static SwigPyGetSet Record_id_getset = { _wrap_Record_id_get, _wrap_Record_id_set }; +static SwigPyGetSet Record_readlen_getset = { _wrap_Record_readlen_get, _wrap_Record_readlen_set }; +static SwigPyGetSet Record_barcode_getset = { _wrap_Record_barcode_get, _wrap_Record_barcode_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Record_getset[] = { + { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_minimizers_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Record___dict___getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_num_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_id_getset }, + { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_readlen_getset }, + { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_barcode_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Record_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -61147,24 +61155,12 @@ SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerBloomFilter_methods[] = { - { "insert", _wrap_KmerBloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_KmerBloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerBloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerBloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerBloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_KmerBloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_hash_num", _wrap_KmerBloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerBloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_k", _wrap_KmerBloomFilter_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerBloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "get_bloom_filter", _wrap_KmerBloomFilter_get_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerBloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Record_methods[] = { + { "__nonzero__", _wrap_Record___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -61172,10 +61168,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerBloomFilter", /* tp_name */ + "btllib.Record", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ + _wrap_delete_Record_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -61185,36 +61181,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Record_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Record_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Record_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Record_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerBloomFilter", /* tp_doc */ + "btllib::Record", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerBloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Record_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerBloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Record_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerBloomFilter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Record_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerBloomFilter, /* tp_init */ + _wrap_new_Record, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -61263,7 +61259,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_Record___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -61350,16 +61346,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Record_type}; -static SwigPyGetSet SeedBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedBloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedBloomFilter___dict___getset }, +static SwigPyGetSet BloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -61372,28 +61368,23 @@ SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedBloomFilter_methods[] = { - { "insert", _wrap_SeedBloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_SeedBloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_SeedBloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_SeedBloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_SeedBloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_SeedBloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_total_hash_num", _wrap_SeedBloomFilter_get_total_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_SeedBloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_k", _wrap_SeedBloomFilter_get_k, METH_NOARGS, "" }, - { "get_seeds", _wrap_SeedBloomFilter_get_seeds, METH_NOARGS, "" }, - { "get_parsed_seeds", _wrap_SeedBloomFilter_get_parsed_seeds, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedBloomFilter_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedBloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_SeedBloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "get_kmer_bloom_filter", _wrap_SeedBloomFilter_get_kmer_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_SeedBloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_SeedBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BloomFilter_methods[] = { + { "insert", _wrap_BloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_BloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_BloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_BloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_BloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_BloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_hash_num", _wrap_BloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_BloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_BloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_BloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_BloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, + { "check_file_signature", (PyCFunction)(void(*)(void))_wrap_BloomFilter_check_file_signature, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -61401,10 +61392,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedBloomFilter", /* tp_name */ + "btllib.BloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ + _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -61414,36 +61405,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedBloomFilter", /* tp_doc */ + "btllib::BloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedBloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__BloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedBloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__BloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedBloomFilter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__BloomFilter_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedBloomFilter, /* tp_init */ + _wrap_new_BloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -61579,16 +61570,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; -static SwigPyGetSet SeqReader___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReader___dict___getset }, +static SwigPyGetSet KmerBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerBloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerBloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -61601,23 +61592,24 @@ SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, in return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader_methods[] = { - { "close", _wrap_SeqReader_close, METH_NOARGS, "" }, - { "fold_case", _wrap_SeqReader_fold_case, METH_NOARGS, "" }, - { "trim_masked", _wrap_SeqReader_trim_masked, METH_NOARGS, "" }, - { "short_mode", _wrap_SeqReader_short_mode, METH_NOARGS, "" }, - { "long_mode", _wrap_SeqReader_long_mode, METH_NOARGS, "" }, - { "get_format", _wrap_SeqReader_get_format, METH_NOARGS, "" }, - { "read", _wrap_SeqReader_read, METH_NOARGS, "" }, - { "__iter__", _wrap_SeqReader___iter__, METH_NOARGS, "" }, - { "get_buffer_size", _wrap_SeqReader_get_buffer_size, METH_NOARGS, "" }, - { "get_block_size", _wrap_SeqReader_get_block_size, METH_NOARGS, "" }, - { "__enter__", _wrap_SeqReader___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqReader___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerBloomFilter_methods[] = { + { "insert", _wrap_KmerBloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_KmerBloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerBloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerBloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerBloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_KmerBloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_hash_num", _wrap_KmerBloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerBloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_k", _wrap_KmerBloomFilter_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerBloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "get_bloom_filter", _wrap_KmerBloomFilter_get_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerBloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -61625,10 +61617,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReader", /* tp_name */ + "btllib.KmerBloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ + _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -61638,36 +61630,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader", /* tp_doc */ + "btllib::KmerBloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__KmerBloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_SeqReader___iter___getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader_methods, /* tp_methods */ + SwigPyBuiltin__btllib__KmerBloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerBloomFilter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReader, /* tp_init */ + _wrap_new_KmerBloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -61803,16 +61795,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; -static SwigPyGetSet SeqReaderFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Flag_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderFlag___dict___getset }, +static SwigPyGetSet SeedBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedBloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedBloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -61825,11 +61817,28 @@ SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Flag_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedBloomFilter_methods[] = { + { "insert", _wrap_SeedBloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_SeedBloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_SeedBloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_SeedBloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_SeedBloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_SeedBloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_total_hash_num", _wrap_SeedBloomFilter_get_total_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_SeedBloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_k", _wrap_SeedBloomFilter_get_k, METH_NOARGS, "" }, + { "get_seeds", _wrap_SeedBloomFilter_get_seeds, METH_NOARGS, "" }, + { "get_parsed_seeds", _wrap_SeedBloomFilter_get_parsed_seeds, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedBloomFilter_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedBloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_SeedBloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "get_kmer_bloom_filter", _wrap_SeedBloomFilter_get_kmer_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_SeedBloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_SeedBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -61837,10 +61846,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderFlag", /* tp_name */ + "btllib.SeedBloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -61850,36 +61859,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::Flag", /* tp_doc */ + "btllib::SeedBloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__Flag_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeedBloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__Flag_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeedBloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__Flag_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeedBloomFilter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReaderFlag, /* tp_init */ + _wrap_new_SeedBloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62015,26 +62024,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; -static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; -static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; -static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; -static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; -static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, - { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, - { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, +static SwigPyGetSet SeqReader___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReader___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62047,12 +62046,23 @@ SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Record_methods[] = { - { "__nonzero__", _wrap_SeqReaderRecord___nonzero__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader_methods[] = { + { "close", _wrap_SeqReader_close, METH_NOARGS, "" }, + { "fold_case", _wrap_SeqReader_fold_case, METH_NOARGS, "" }, + { "trim_masked", _wrap_SeqReader_trim_masked, METH_NOARGS, "" }, + { "short_mode", _wrap_SeqReader_short_mode, METH_NOARGS, "" }, + { "long_mode", _wrap_SeqReader_long_mode, METH_NOARGS, "" }, + { "get_format", _wrap_SeqReader_get_format, METH_NOARGS, "" }, + { "read", _wrap_SeqReader_read, METH_NOARGS, "" }, + { "__iter__", _wrap_SeqReader___iter__, METH_NOARGS, "" }, + { "get_buffer_size", _wrap_SeqReader_get_buffer_size, METH_NOARGS, "" }, + { "get_block_size", _wrap_SeqReader_get_block_size, METH_NOARGS, "" }, + { "__enter__", _wrap_SeqReader___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqReader___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62060,10 +62070,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderRecord", /* tp_name */ + "btllib.SeqReader", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -62073,36 +62083,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::Record", /* tp_doc */ + "btllib::SeqReader", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__Record_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_SeqReader___iter___getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__Record_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqReader_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__Record_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReaderRecord, /* tp_init */ + _wrap_new_SeqReader, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62151,7 +62161,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_SeqReaderRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -62238,16 +62248,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; -static SwigPyGetSet SeqReaderRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecordIterator___dict___getset }, +static SwigPyGetSet SeqReaderFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Flag_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderFlag___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62260,12 +62270,11 @@ SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods[] = { - { "__next__", _wrap_SeqReaderRecordIterator___next__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Flag_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62273,10 +62282,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderRecordIterator", /* tp_name */ + "btllib.SeqReaderFlag", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -62286,36 +62295,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::RecordIterator", /* tp_doc */ + "btllib::SeqReader::Flag", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__Flag_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - _wrap_SeqReaderRecordIterator___next___iternextfunc_closure, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods, /* tp_methods */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqReader__Flag_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__Flag_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ + _wrap_new_SeqReaderFlag, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62451,16 +62460,26 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; -static SwigPyGetSet Barrier___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Barrier_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Barrier___dict___getset }, +static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; +static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; +static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; +static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, + { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62473,12 +62492,12 @@ SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Barrier_methods[] = { - { "wait", _wrap_Barrier_wait, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Record_methods[] = { + { "__nonzero__", _wrap_SeqReaderRecord___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62486,10 +62505,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Barrier", /* tp_name */ + "btllib.SeqReaderRecord", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -62499,36 +62518,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Barrier_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Barrier_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Barrier_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Barrier_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Barrier", /* tp_doc */ + "btllib::SeqReader::Record", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Barrier_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__Record_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Barrier_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqReader__Record_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Barrier_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__Record_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Barrier, /* tp_init */ + _wrap_new_SeqReaderRecord, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62577,7 +62596,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_SeqReaderRecord___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -62664,16 +62683,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; -static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, +static SwigPyGetSet SeqReaderRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecordIterator___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62686,15 +62705,12 @@ SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, in return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { - { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, - { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, - { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods[] = { + { "__next__", _wrap_SeqReaderRecordIterator___next__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62702,10 +62718,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqWriter", /* tp_name */ + "btllib.SeqReaderRecordIterator", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ + _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -62715,36 +62731,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqWriter", /* tp_doc */ + "btllib::SeqReader::RecordIterator", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ + _wrap_SeqReaderRecordIterator___next___iternextfunc_closure, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqWriter, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62880,28 +62896,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; -static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; -static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; -static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; -static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; -static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; -static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { - { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, - { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, - { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, - { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, - { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, - { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, +static SwigPyGetSet Barrier___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Barrier_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Barrier___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -62914,11 +62918,12 @@ SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Datatype_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Barrier_methods[] = { + { "wait", _wrap_Barrier_wait, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -62926,10 +62931,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Datatype", /* tp_name */ + "btllib.Barrier", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ + _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -62939,36 +62944,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Datatype_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Datatype_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Datatype_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Barrier_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Barrier_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Barrier_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Datatype_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Barrier_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Datatype", /* tp_doc */ + "btllib::Barrier", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Datatype_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Barrier_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Datatype_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Barrier_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Datatype_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Barrier_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Datatype, /* tp_init */ + _wrap_new_Barrier, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63104,16 +63109,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; -static SwigPyGetSet DataSource___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSource_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSource___dict___getset }, +static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63126,11 +63131,15 @@ SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSource_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { + { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, + { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, + { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63138,10 +63147,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.DataSource", /* tp_name */ + "btllib.SeqWriter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -63151,36 +63160,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__DataSource_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__DataSource_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__DataSource_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__DataSource_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::DataSource", /* tp_doc */ + "btllib::SeqWriter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__DataSource_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__DataSource_methods,/* tp_methods */ + SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__DataSource_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_DataSource, /* tp_init */ + _wrap_new_SeqWriter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63316,16 +63325,28 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; -static SwigPyGetSet DataSink___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSink_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSink___dict___getset }, +static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; +static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; +static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; +static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; +static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { + { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, + { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, + { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, + { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, + { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, + { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63338,11 +63359,11 @@ SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSink_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Datatype_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63350,10 +63371,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.DataSink", /* tp_name */ + "btllib.Datatype", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ + _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -63363,36 +63384,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__DataSink_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__DataSink_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__DataSink_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Datatype_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Datatype_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Datatype_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__DataSink_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Datatype_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::DataSink", /* tp_doc */ + "btllib::Datatype", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__DataSink_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Datatype_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__DataSink_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Datatype_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__DataSink_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Datatype_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_DataSink, /* tp_init */ + _wrap_new_Datatype, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63528,16 +63549,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; -static SwigPyGetSet NtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__NtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &NtHash___dict___getset }, +static SwigPyGetSet DataSource___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSource_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSource___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63550,24 +63571,11 @@ SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__NtHash_methods[] = { - { "roll", _wrap_NtHash_roll, METH_NOARGS, "" }, - { "roll_back", _wrap_NtHash_roll_back, METH_NOARGS, "" }, - { "peek", _wrap_NtHash_peek, METH_VARARGS, "" }, - { "peek_back", _wrap_NtHash_peek_back, METH_VARARGS, "" }, - { "sub", _wrap_NtHash_sub, METH_VARARGS, "" }, - { "hashes", _wrap_NtHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_NtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_NtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_NtHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_NtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_NtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_NtHash_get_reverse_hash, METH_NOARGS, "" }, - { "change_seq", _wrap_NtHash_change_seq, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSource_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63575,10 +63583,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.NtHash", /* tp_name */ + "btllib.DataSource", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ + _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -63588,36 +63596,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__NtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__NtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__NtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__DataSource_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__DataSource_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__DataSource_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__NtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__DataSource_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::NtHash", /* tp_doc */ + "btllib::DataSource", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__NtHash_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__DataSource_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__NtHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__DataSource_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__NtHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__DataSource_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_NtHash, /* tp_init */ + _wrap_new_DataSource, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63753,16 +63761,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; -static SwigPyGetSet BlindNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BlindNtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BlindNtHash___dict___getset }, +static SwigPyGetSet DataSink___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSink_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSink___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -63775,24 +63783,11 @@ SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BlindNtHash_methods[] = { - { "roll", _wrap_BlindNtHash_roll, METH_O, "" }, - { "roll_back", _wrap_BlindNtHash_roll_back, METH_O, "" }, - { "peek", _wrap_BlindNtHash_peek, METH_O, "" }, - { "peek_back", _wrap_BlindNtHash_peek_back, METH_O, "" }, - { "sub", _wrap_BlindNtHash_sub, METH_VARARGS, "" }, - { "hashes", _wrap_BlindNtHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_BlindNtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_BlindNtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_BlindNtHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_BlindNtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_BlindNtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_BlindNtHash_get_reverse_hash, METH_NOARGS, "" }, - { "change_seq", _wrap_BlindNtHash_change_seq, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSink_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -63800,10 +63795,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.BlindNtHash", /* tp_name */ + "btllib.DataSink", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ + _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -63813,36 +63808,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__DataSink_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__DataSink_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__DataSink_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__DataSink_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::BlindNtHash", /* tp_doc */ + "btllib::DataSink", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__BlindNtHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__DataSink_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__BlindNtHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__DataSink_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__BlindNtHash_getset,/* tp_getset */ + SwigPyBuiltin__btllib__DataSink_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_BlindNtHash, /* tp_init */ + _wrap_new_DataSink, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -63978,16 +63973,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; -static SwigPyGetSet SeedNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedNtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedNtHash___dict___getset }, +static SwigPyGetSet NtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__NtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &NtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64000,24 +63995,24 @@ SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedNtHash_methods[] = { - { "roll", _wrap_SeedNtHash_roll, METH_NOARGS, "" }, - { "roll_back", _wrap_SeedNtHash_roll_back, METH_NOARGS, "" }, - { "peek", _wrap_SeedNtHash_peek, METH_VARARGS, "" }, - { "peek_back", _wrap_SeedNtHash_peek_back, METH_VARARGS, "" }, - { "hashes", _wrap_SeedNtHash_hashes, METH_NOARGS, "" }, - { "change_seq", _wrap_SeedNtHash_change_seq, METH_VARARGS, "" }, - { "get_pos", _wrap_SeedNtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_SeedNtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedNtHash_get_hash_num, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedNtHash_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_k", _wrap_SeedNtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_SeedNtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_SeedNtHash_get_reverse_hash, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__NtHash_methods[] = { + { "roll", _wrap_NtHash_roll, METH_NOARGS, "" }, + { "roll_back", _wrap_NtHash_roll_back, METH_NOARGS, "" }, + { "peek", _wrap_NtHash_peek, METH_VARARGS, "" }, + { "peek_back", _wrap_NtHash_peek_back, METH_VARARGS, "" }, + { "sub", _wrap_NtHash_sub, METH_VARARGS, "" }, + { "hashes", _wrap_NtHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_NtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_NtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_NtHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_NtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_NtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_NtHash_get_reverse_hash, METH_NOARGS, "" }, + { "change_seq", _wrap_NtHash_change_seq, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64025,10 +64020,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedNtHash", /* tp_name */ + "btllib.NtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ + _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -64038,36 +64033,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__NtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__NtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__NtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__NtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedNtHash", /* tp_doc */ + "btllib::NtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedNtHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__NtHash_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedNtHash_methods,/* tp_methods */ + SwigPyBuiltin__btllib__NtHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedNtHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__NtHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedNtHash, /* tp_init */ + _wrap_new_NtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64203,16 +64198,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedNtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; -static SwigPyGetSet RandSeq___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__RandSeq_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &RandSeq___dict___getset }, +static SwigPyGetSet BlindNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BlindNtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BlindNtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__RandSeq_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64225,13 +64220,24 @@ SwigPyBuiltin__btllib__RandSeq_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__RandSeq_methods[] = { - { "set_seed", _wrap_RandSeq_set_seed, METH_O, "" }, - { "generate", _wrap_RandSeq_generate, METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BlindNtHash_methods[] = { + { "roll", _wrap_BlindNtHash_roll, METH_O, "" }, + { "roll_back", _wrap_BlindNtHash_roll_back, METH_O, "" }, + { "peek", _wrap_BlindNtHash_peek, METH_O, "" }, + { "peek_back", _wrap_BlindNtHash_peek_back, METH_O, "" }, + { "sub", _wrap_BlindNtHash_sub, METH_VARARGS, "" }, + { "hashes", _wrap_BlindNtHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_BlindNtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_BlindNtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_BlindNtHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_BlindNtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_BlindNtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_BlindNtHash_get_reverse_hash, METH_NOARGS, "" }, + { "change_seq", _wrap_BlindNtHash_change_seq, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64239,10 +64245,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.RandSeq", /* tp_name */ + "btllib.BlindNtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_RandSeq_destructor_closure, /* tp_dealloc */ + _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -64252,36 +64258,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__RandSeq_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__RandSeq_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__RandSeq_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__RandSeq_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::RandSeq", /* tp_doc */ + "btllib::BlindNtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__RandSeq_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__BlindNtHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__RandSeq_methods, /* tp_methods */ + SwigPyBuiltin__btllib__BlindNtHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__RandSeq_getset, /* tp_getset */ + SwigPyBuiltin__btllib__BlindNtHash_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_RandSeq, /* tp_init */ + _wrap_new_BlindNtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64417,16 +64423,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandSeq_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandSeq_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; -static SwigPyGetSet AAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__AAHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &AAHash___dict___getset }, +static SwigPyGetSet SeedNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedNtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedNtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__AAHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64439,20 +64445,24 @@ SwigPyBuiltin__btllib__AAHash_richcompare(PyObject *self, PyObject *other, int o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__AAHash_methods[] = { - { "roll", _wrap_AAHash_roll, METH_NOARGS, "" }, - { "hashes", _wrap_AAHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_AAHash_get_pos, METH_NOARGS, "" }, - { "get_hash_num", _wrap_AAHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_AAHash_get_k, METH_NOARGS, "" }, - { "forward", _wrap_AAHash_forward, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_AAHash_get_forward_hash, METH_NOARGS, "" }, - { "get_level", _wrap_AAHash_get_level, METH_NOARGS, "" }, - { "get_seq", _wrap_AAHash_get_seq, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedNtHash_methods[] = { + { "roll", _wrap_SeedNtHash_roll, METH_NOARGS, "" }, + { "roll_back", _wrap_SeedNtHash_roll_back, METH_NOARGS, "" }, + { "peek", _wrap_SeedNtHash_peek, METH_VARARGS, "" }, + { "peek_back", _wrap_SeedNtHash_peek_back, METH_VARARGS, "" }, + { "hashes", _wrap_SeedNtHash_hashes, METH_NOARGS, "" }, + { "change_seq", _wrap_SeedNtHash_change_seq, METH_VARARGS, "" }, + { "get_pos", _wrap_SeedNtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_SeedNtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedNtHash_get_hash_num, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedNtHash_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_k", _wrap_SeedNtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_SeedNtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_SeedNtHash_get_reverse_hash, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64460,10 +64470,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.AAHash", /* tp_name */ + "btllib.SeedNtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_AAHash_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -64473,36 +64483,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__AAHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__AAHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__AAHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__AAHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::AAHash", /* tp_doc */ + "btllib::SeedNtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__AAHash_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__SeedNtHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__AAHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeedNtHash_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__AAHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeedNtHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_AAHash, /* tp_init */ + _wrap_new_SeedNtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64638,16 +64648,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__AAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__AAHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedNtHash_type}; -static SwigPyGetSet SeedAAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedAAHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedAAHash___dict___getset }, +static SwigPyGetSet RandSeq___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__RandSeq_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &RandSeq___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedAAHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__RandSeq_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64660,17 +64670,13 @@ SwigPyBuiltin__btllib__SeedAAHash_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedAAHash_methods[] = { - { "roll", _wrap_SeedAAHash_roll, METH_NOARGS, "" }, - { "hashes", _wrap_SeedAAHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_SeedAAHash_get_pos, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedAAHash_get_hash_num, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedAAHash_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_k", _wrap_SeedAAHash_get_k, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__RandSeq_methods[] = { + { "set_seed", _wrap_RandSeq_set_seed, METH_O, "" }, + { "generate", _wrap_RandSeq_generate, METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64678,10 +64684,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedAAHash", /* tp_name */ + "btllib.RandSeq", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedAAHash_destructor_closure, /* tp_dealloc */ + _wrap_delete_RandSeq_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -64691,36 +64697,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__RandSeq_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__RandSeq_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__RandSeq_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedAAHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__RandSeq_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedAAHash", /* tp_doc */ + "btllib::RandSeq", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedAAHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__RandSeq_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedAAHash_methods,/* tp_methods */ + SwigPyBuiltin__btllib__RandSeq_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedAAHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__RandSeq_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedAAHash, /* tp_init */ + _wrap_new_RandSeq, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -64856,16 +64862,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedAAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedAAHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandSeq_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandSeq_type}; -static SwigPyGetSet CountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter8___dict___getset }, +static SwigPyGetSet AAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__AAHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &AAHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__AAHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -64878,27 +64884,20 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods[] = { - { "insert", _wrap_CountingBloomFilter8_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter8_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter8_clear, METH_VARARGS, "" }, - { "contains", _wrap_CountingBloomFilter8_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_CountingBloomFilter8_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_CountingBloomFilter8_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_CountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_CountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_CountingBloomFilter8_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_CountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_CountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_CountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_CountingBloomFilter8_get_fpr, METH_VARARGS, "" }, - { "get_hash_fn", _wrap_CountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_CountingBloomFilter8_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__AAHash_methods[] = { + { "roll", _wrap_AAHash_roll, METH_NOARGS, "" }, + { "hashes", _wrap_AAHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_AAHash_get_pos, METH_NOARGS, "" }, + { "get_hash_num", _wrap_AAHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_AAHash_get_k, METH_NOARGS, "" }, + { "forward", _wrap_AAHash_forward, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_AAHash_get_forward_hash, METH_NOARGS, "" }, + { "get_level", _wrap_AAHash_get_level, METH_NOARGS, "" }, + { "get_seq", _wrap_AAHash_get_seq, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -64906,10 +64905,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.CountingBloomFilter8", /* tp_name */ + "btllib.AAHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ + _wrap_delete_AAHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -64919,36 +64918,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__AAHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__AAHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__AAHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__AAHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::CountingBloomFilter< uint8_t >", /* tp_doc */ + "btllib::AAHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__AAHash_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__AAHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__AAHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_CountingBloomFilter8, /* tp_init */ + _wrap_new_AAHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65084,16 +65083,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__AAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__AAHash_type}; -static SwigPyGetSet CountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter16___dict___getset }, +static SwigPyGetSet SeedAAHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedAAHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedAAHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedAAHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65106,27 +65105,17 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *sel return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods[] = { - { "insert", _wrap_CountingBloomFilter16_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter16_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter16_clear, METH_VARARGS, "" }, - { "contains", _wrap_CountingBloomFilter16_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_CountingBloomFilter16_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_CountingBloomFilter16_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_CountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_CountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_CountingBloomFilter16_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_CountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_CountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_CountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_CountingBloomFilter16_get_fpr, METH_VARARGS, "" }, - { "get_hash_fn", _wrap_CountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_CountingBloomFilter16_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedAAHash_methods[] = { + { "roll", _wrap_SeedAAHash_roll, METH_NOARGS, "" }, + { "hashes", _wrap_SeedAAHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_SeedAAHash_get_pos, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedAAHash_get_hash_num, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedAAHash_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_k", _wrap_SeedAAHash_get_k, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65134,10 +65123,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.CountingBloomFilter16", /* tp_name */ + "btllib.SeedAAHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ + _wrap_delete_SeedAAHash_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -65147,36 +65136,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedAAHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::CountingBloomFilter< uint16_t >",/* tp_doc */ + "btllib::SeedAAHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__SeedAAHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__SeedAAHash_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__SeedAAHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_CountingBloomFilter16, /* tp_init */ + _wrap_new_SeedAAHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65312,16 +65301,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedAAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedAAHash_type}; -static SwigPyGetSet CountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter32___dict___getset }, +static SwigPyGetSet CountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter8___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65334,27 +65323,27 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *sel return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods[] = { - { "insert", _wrap_CountingBloomFilter32_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter32_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter32_clear, METH_VARARGS, "" }, - { "contains", _wrap_CountingBloomFilter32_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_CountingBloomFilter32_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_CountingBloomFilter32_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_CountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_CountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_CountingBloomFilter32_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_CountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_CountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_CountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_CountingBloomFilter32_get_fpr, METH_VARARGS, "" }, - { "get_hash_fn", _wrap_CountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_CountingBloomFilter32_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods[] = { + { "insert", _wrap_CountingBloomFilter8_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter8_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter8_clear, METH_VARARGS, "" }, + { "contains", _wrap_CountingBloomFilter8_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_CountingBloomFilter8_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_CountingBloomFilter8_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_CountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_CountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_CountingBloomFilter8_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_CountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_CountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_CountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_CountingBloomFilter8_get_fpr, METH_VARARGS, "" }, + { "get_hash_fn", _wrap_CountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_CountingBloomFilter8_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65362,10 +65351,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.CountingBloomFilter32", /* tp_name */ + "btllib.CountingBloomFilter8", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ + _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -65375,36 +65364,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::CountingBloomFilter< uint32_t >",/* tp_doc */ + "btllib::CountingBloomFilter< uint8_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_CountingBloomFilter32, /* tp_init */ + _wrap_new_CountingBloomFilter8, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65540,16 +65529,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; -static SwigPyGetSet KmerCountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter8___dict___getset }, +static SwigPyGetSet CountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter16___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65562,29 +65551,27 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject * return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods[] = { - { "insert", _wrap_KmerCountingBloomFilter8_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter8_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter8_clear, METH_VARARGS, "" }, - { "contains", _wrap_KmerCountingBloomFilter8_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerCountingBloomFilter8_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_KmerCountingBloomFilter8_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_KmerCountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_KmerCountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerCountingBloomFilter8_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerCountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_KmerCountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_KmerCountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerCountingBloomFilter8_get_fpr, METH_VARARGS, "" }, - { "get_k", _wrap_KmerCountingBloomFilter8_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerCountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, - { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter8_get_counting_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerCountingBloomFilter8_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods[] = { + { "insert", _wrap_CountingBloomFilter16_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter16_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter16_clear, METH_VARARGS, "" }, + { "contains", _wrap_CountingBloomFilter16_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_CountingBloomFilter16_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_CountingBloomFilter16_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_CountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_CountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_CountingBloomFilter16_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_CountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_CountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_CountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_CountingBloomFilter16_get_fpr, METH_VARARGS, "" }, + { "get_hash_fn", _wrap_CountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_CountingBloomFilter16_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65592,10 +65579,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerCountingBloomFilter8", /* tp_name */ + "btllib.CountingBloomFilter16", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ + _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -65605,36 +65592,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerCountingBloomFilter< uint8_t >", /* tp_doc */ + "btllib::CountingBloomFilter< uint16_t >",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerCountingBloomFilter8, /* tp_init */ + _wrap_new_CountingBloomFilter16, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -65770,16 +65757,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; -static SwigPyGetSet KmerCountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter16___dict___getset }, +static SwigPyGetSet CountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter32___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -65792,29 +65779,27 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods[] = { - { "insert", _wrap_KmerCountingBloomFilter16_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter16_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter16_clear, METH_VARARGS, "" }, - { "contains", _wrap_KmerCountingBloomFilter16_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerCountingBloomFilter16_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_KmerCountingBloomFilter16_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_KmerCountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_KmerCountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerCountingBloomFilter16_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerCountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_KmerCountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_KmerCountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerCountingBloomFilter16_get_fpr, METH_VARARGS, "" }, - { "get_k", _wrap_KmerCountingBloomFilter16_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerCountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, - { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter16_get_counting_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerCountingBloomFilter16_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods[] = { + { "insert", _wrap_CountingBloomFilter32_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter32_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter32_clear, METH_VARARGS, "" }, + { "contains", _wrap_CountingBloomFilter32_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_CountingBloomFilter32_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_CountingBloomFilter32_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_CountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_CountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_CountingBloomFilter32_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_CountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_CountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_CountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_CountingBloomFilter32_get_fpr, METH_VARARGS, "" }, + { "get_hash_fn", _wrap_CountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_CountingBloomFilter32_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_CountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -65822,10 +65807,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerCountingBloomFilter16", /* tp_name */ + "btllib.CountingBloomFilter32", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ + _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -65835,36 +65820,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerCountingBloomFilter< uint16_t >", /* tp_doc */ + "btllib::CountingBloomFilter< uint32_t >",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerCountingBloomFilter16, /* tp_init */ + _wrap_new_CountingBloomFilter32, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66000,16 +65985,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; -static SwigPyGetSet KmerCountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter32___dict___getset }, +static SwigPyGetSet KmerCountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter8___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66022,29 +66007,29 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods[] = { - { "insert", _wrap_KmerCountingBloomFilter32_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter32_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter32_clear, METH_VARARGS, "" }, - { "contains", _wrap_KmerCountingBloomFilter32_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerCountingBloomFilter32_contains_insert, METH_VARARGS, "" }, - { "insert_contains", _wrap_KmerCountingBloomFilter32_insert_contains, METH_VARARGS, "" }, - { "insert_thresh_contains", _wrap_KmerCountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, - { "contains_insert_thresh", _wrap_KmerCountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerCountingBloomFilter32_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerCountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, - { "get_occupancy", _wrap_KmerCountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, - { "get_hash_num", _wrap_KmerCountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerCountingBloomFilter32_get_fpr, METH_VARARGS, "" }, - { "get_k", _wrap_KmerCountingBloomFilter32_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerCountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, - { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter32_get_counting_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerCountingBloomFilter32_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods[] = { + { "insert", _wrap_KmerCountingBloomFilter8_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter8_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter8_clear, METH_VARARGS, "" }, + { "contains", _wrap_KmerCountingBloomFilter8_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerCountingBloomFilter8_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_KmerCountingBloomFilter8_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_KmerCountingBloomFilter8_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_KmerCountingBloomFilter8_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerCountingBloomFilter8_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerCountingBloomFilter8_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_KmerCountingBloomFilter8_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_KmerCountingBloomFilter8_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerCountingBloomFilter8_get_fpr, METH_VARARGS, "" }, + { "get_k", _wrap_KmerCountingBloomFilter8_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerCountingBloomFilter8_get_hash_fn, METH_NOARGS, "" }, + { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter8_get_counting_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerCountingBloomFilter8_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter8_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66052,10 +66037,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerCountingBloomFilter32", /* tp_name */ + "btllib.KmerCountingBloomFilter8", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ + _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -66065,36 +66050,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerCountingBloomFilter< uint32_t >", /* tp_doc */ + "btllib::KmerCountingBloomFilter< uint8_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerCountingBloomFilter32, /* tp_init */ + _wrap_new_KmerCountingBloomFilter8, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66230,16 +66215,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; -static SwigPyGetSet MIBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter8___dict___getset }, +static SwigPyGetSet KmerCountingBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter16___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66252,26 +66237,29 @@ SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyOb return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods[] = { - { "complete_bv_insertion", _wrap_MIBloomFilter8_complete_bv_insertion, METH_NOARGS, "" }, - { "complete_id_insertion", _wrap_MIBloomFilter8_complete_id_insertion, METH_NOARGS, "" }, - { "insert_bv", _wrap_MIBloomFilter8_insert_bv, METH_VARARGS, "" }, - { "bv_contains", _wrap_MIBloomFilter8_bv_contains, METH_VARARGS, "" }, - { "insert_id", _wrap_MIBloomFilter8_insert_id, METH_VARARGS, "" }, - { "get_id", _wrap_MIBloomFilter8_get_id, METH_VARARGS, "" }, - { "insert_saturation", _wrap_MIBloomFilter8_insert_saturation, METH_VARARGS, "" }, - { "save", _wrap_MIBloomFilter8_save, METH_O, "" }, - { "get_pop_cnt", _wrap_MIBloomFilter8_get_pop_cnt, METH_NOARGS, "" }, - { "get_pop_saturated_cnt", _wrap_MIBloomFilter8_get_pop_saturated_cnt, METH_NOARGS, "" }, - { "get_hash_num", _wrap_MIBloomFilter8_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_MIBloomFilter8_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_MIBloomFilter8_get_hash_fn, METH_NOARGS, "" }, - { "get_id_occurence_count", _wrap_MIBloomFilter8_get_id_occurence_count, METH_O, "" }, - { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter8_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods[] = { + { "insert", _wrap_KmerCountingBloomFilter16_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter16_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter16_clear, METH_VARARGS, "" }, + { "contains", _wrap_KmerCountingBloomFilter16_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerCountingBloomFilter16_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_KmerCountingBloomFilter16_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_KmerCountingBloomFilter16_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_KmerCountingBloomFilter16_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerCountingBloomFilter16_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerCountingBloomFilter16_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_KmerCountingBloomFilter16_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_KmerCountingBloomFilter16_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerCountingBloomFilter16_get_fpr, METH_VARARGS, "" }, + { "get_k", _wrap_KmerCountingBloomFilter16_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerCountingBloomFilter16_get_hash_fn, METH_NOARGS, "" }, + { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter16_get_counting_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerCountingBloomFilter16_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter16_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66279,10 +66267,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.MIBloomFilter8", /* tp_name */ + "btllib.KmerCountingBloomFilter16", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_MIBloomFilter8_destructor_closure, /* tp_dealloc */ + _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -66292,36 +66280,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::MIBloomFilter< uint8_t >", /* tp_doc */ + "btllib::KmerCountingBloomFilter< uint16_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods, /* tp_methods */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_MIBloomFilter8, /* tp_init */ + _wrap_new_KmerCountingBloomFilter16, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66457,16 +66445,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; -static SwigPyGetSet MIBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter16___dict___getset }, +static SwigPyGetSet KmerCountingBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerCountingBloomFilter32___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66479,26 +66467,29 @@ SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods[] = { - { "complete_bv_insertion", _wrap_MIBloomFilter16_complete_bv_insertion, METH_NOARGS, "" }, - { "complete_id_insertion", _wrap_MIBloomFilter16_complete_id_insertion, METH_NOARGS, "" }, - { "insert_bv", _wrap_MIBloomFilter16_insert_bv, METH_VARARGS, "" }, - { "bv_contains", _wrap_MIBloomFilter16_bv_contains, METH_VARARGS, "" }, - { "insert_id", _wrap_MIBloomFilter16_insert_id, METH_VARARGS, "" }, - { "get_id", _wrap_MIBloomFilter16_get_id, METH_VARARGS, "" }, - { "insert_saturation", _wrap_MIBloomFilter16_insert_saturation, METH_VARARGS, "" }, - { "save", _wrap_MIBloomFilter16_save, METH_O, "" }, - { "get_pop_cnt", _wrap_MIBloomFilter16_get_pop_cnt, METH_NOARGS, "" }, - { "get_pop_saturated_cnt", _wrap_MIBloomFilter16_get_pop_saturated_cnt, METH_NOARGS, "" }, - { "get_hash_num", _wrap_MIBloomFilter16_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_MIBloomFilter16_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_MIBloomFilter16_get_hash_fn, METH_NOARGS, "" }, - { "get_id_occurence_count", _wrap_MIBloomFilter16_get_id_occurence_count, METH_O, "" }, - { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter16_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods[] = { + { "insert", _wrap_KmerCountingBloomFilter32_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter32_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter32_clear, METH_VARARGS, "" }, + { "contains", _wrap_KmerCountingBloomFilter32_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerCountingBloomFilter32_contains_insert, METH_VARARGS, "" }, + { "insert_contains", _wrap_KmerCountingBloomFilter32_insert_contains, METH_VARARGS, "" }, + { "insert_thresh_contains", _wrap_KmerCountingBloomFilter32_insert_thresh_contains, METH_VARARGS, "" }, + { "contains_insert_thresh", _wrap_KmerCountingBloomFilter32_contains_insert_thresh, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerCountingBloomFilter32_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerCountingBloomFilter32_get_pop_cnt, METH_VARARGS, "" }, + { "get_occupancy", _wrap_KmerCountingBloomFilter32_get_occupancy, METH_VARARGS, "" }, + { "get_hash_num", _wrap_KmerCountingBloomFilter32_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerCountingBloomFilter32_get_fpr, METH_VARARGS, "" }, + { "get_k", _wrap_KmerCountingBloomFilter32_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerCountingBloomFilter32_get_hash_fn, METH_NOARGS, "" }, + { "get_counting_bloom_filter", _wrap_KmerCountingBloomFilter32_get_counting_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerCountingBloomFilter32_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerCountingBloomFilter32_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66506,10 +66497,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.MIBloomFilter16", /* tp_name */ + "btllib.KmerCountingBloomFilter32", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_MIBloomFilter16_destructor_closure, /* tp_dealloc */ + _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -66519,36 +66510,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::MIBloomFilter< uint16_t >", /* tp_doc */ + "btllib::KmerCountingBloomFilter< uint32_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods, /* tp_methods */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_MIBloomFilter16, /* tp_init */ + _wrap_new_KmerCountingBloomFilter32, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66684,16 +66675,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; -static SwigPyGetSet MIBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter32___dict___getset }, +static SwigPyGetSet MIBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter8___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66706,26 +66697,26 @@ SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods[] = { - { "complete_bv_insertion", _wrap_MIBloomFilter32_complete_bv_insertion, METH_NOARGS, "" }, - { "complete_id_insertion", _wrap_MIBloomFilter32_complete_id_insertion, METH_NOARGS, "" }, - { "insert_bv", _wrap_MIBloomFilter32_insert_bv, METH_VARARGS, "" }, - { "bv_contains", _wrap_MIBloomFilter32_bv_contains, METH_VARARGS, "" }, - { "insert_id", _wrap_MIBloomFilter32_insert_id, METH_VARARGS, "" }, - { "get_id", _wrap_MIBloomFilter32_get_id, METH_VARARGS, "" }, - { "insert_saturation", _wrap_MIBloomFilter32_insert_saturation, METH_VARARGS, "" }, - { "save", _wrap_MIBloomFilter32_save, METH_O, "" }, - { "get_pop_cnt", _wrap_MIBloomFilter32_get_pop_cnt, METH_NOARGS, "" }, - { "get_pop_saturated_cnt", _wrap_MIBloomFilter32_get_pop_saturated_cnt, METH_NOARGS, "" }, - { "get_hash_num", _wrap_MIBloomFilter32_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_MIBloomFilter32_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_MIBloomFilter32_get_hash_fn, METH_NOARGS, "" }, - { "get_id_occurence_count", _wrap_MIBloomFilter32_get_id_occurence_count, METH_O, "" }, - { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter32_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods[] = { + { "complete_bv_insertion", _wrap_MIBloomFilter8_complete_bv_insertion, METH_NOARGS, "" }, + { "complete_id_insertion", _wrap_MIBloomFilter8_complete_id_insertion, METH_NOARGS, "" }, + { "insert_bv", _wrap_MIBloomFilter8_insert_bv, METH_VARARGS, "" }, + { "bv_contains", _wrap_MIBloomFilter8_bv_contains, METH_VARARGS, "" }, + { "insert_id", _wrap_MIBloomFilter8_insert_id, METH_VARARGS, "" }, + { "get_id", _wrap_MIBloomFilter8_get_id, METH_VARARGS, "" }, + { "insert_saturation", _wrap_MIBloomFilter8_insert_saturation, METH_VARARGS, "" }, + { "save", _wrap_MIBloomFilter8_save, METH_O, "" }, + { "get_pop_cnt", _wrap_MIBloomFilter8_get_pop_cnt, METH_NOARGS, "" }, + { "get_pop_saturated_cnt", _wrap_MIBloomFilter8_get_pop_saturated_cnt, METH_NOARGS, "" }, + { "get_hash_num", _wrap_MIBloomFilter8_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_MIBloomFilter8_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_MIBloomFilter8_get_hash_fn, METH_NOARGS, "" }, + { "get_id_occurence_count", _wrap_MIBloomFilter8_get_id_occurence_count, METH_O, "" }, + { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter8_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66733,10 +66724,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.MIBloomFilter32", /* tp_name */ + "btllib.MIBloomFilter8", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_MIBloomFilter32_destructor_closure, /* tp_dealloc */ + _wrap_delete_MIBloomFilter8_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -66746,36 +66737,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::MIBloomFilter< uint32_t >", /* tp_doc */ + "btllib::MIBloomFilter< uint8_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods, /* tp_methods */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_MIBloomFilter32, /* tp_init */ + _wrap_new_MIBloomFilter8, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -66911,16 +66902,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type}; -static SwigPyGetSet Indexlr___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Indexlr___dict___getset }, +static SwigPyGetSet MIBloomFilter16___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter16___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -66933,24 +66924,26 @@ SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_methods[] = { - { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, - { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, - { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, - { "output_qual", _wrap_Indexlr_output_qual, METH_NOARGS, "" }, - { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, - { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, - { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, - { "long_mode", _wrap_Indexlr_long_mode, METH_NOARGS, "" }, - { "read", _wrap_Indexlr_read, METH_NOARGS, "" }, - { "close", _wrap_Indexlr_close, METH_NOARGS, "" }, - { "__iter__", _wrap_Indexlr___iter__, METH_NOARGS, "" }, - { "__enter__", _wrap_Indexlr___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_Indexlr___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods[] = { + { "complete_bv_insertion", _wrap_MIBloomFilter16_complete_bv_insertion, METH_NOARGS, "" }, + { "complete_id_insertion", _wrap_MIBloomFilter16_complete_id_insertion, METH_NOARGS, "" }, + { "insert_bv", _wrap_MIBloomFilter16_insert_bv, METH_VARARGS, "" }, + { "bv_contains", _wrap_MIBloomFilter16_bv_contains, METH_VARARGS, "" }, + { "insert_id", _wrap_MIBloomFilter16_insert_id, METH_VARARGS, "" }, + { "get_id", _wrap_MIBloomFilter16_get_id, METH_VARARGS, "" }, + { "insert_saturation", _wrap_MIBloomFilter16_insert_saturation, METH_VARARGS, "" }, + { "save", _wrap_MIBloomFilter16_save, METH_O, "" }, + { "get_pop_cnt", _wrap_MIBloomFilter16_get_pop_cnt, METH_NOARGS, "" }, + { "get_pop_saturated_cnt", _wrap_MIBloomFilter16_get_pop_saturated_cnt, METH_NOARGS, "" }, + { "get_hash_num", _wrap_MIBloomFilter16_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_MIBloomFilter16_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_MIBloomFilter16_get_hash_fn, METH_NOARGS, "" }, + { "get_id_occurence_count", _wrap_MIBloomFilter16_get_id_occurence_count, METH_O, "" }, + { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter16_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -66958,10 +66951,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Indexlr", /* tp_name */ + "btllib.MIBloomFilter16", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ + _wrap_delete_MIBloomFilter16_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -66971,36 +66964,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr< btllib::NtHash >", /* tp_doc */ + "btllib::MIBloomFilter< uint16_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_Indexlr___iter___getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_methods, /* tp_methods */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_getset, /* tp_getset */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Indexlr, /* tp_init */ + _wrap_new_MIBloomFilter16, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67136,16 +67129,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type}; -static SwigPyGetSet IndexlrFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrFlag___dict___getset }, +static SwigPyGetSet MIBloomFilter32___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &MIBloomFilter32___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67158,11 +67151,26 @@ SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare(PyObject *sel return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods[] = { + { "complete_bv_insertion", _wrap_MIBloomFilter32_complete_bv_insertion, METH_NOARGS, "" }, + { "complete_id_insertion", _wrap_MIBloomFilter32_complete_id_insertion, METH_NOARGS, "" }, + { "insert_bv", _wrap_MIBloomFilter32_insert_bv, METH_VARARGS, "" }, + { "bv_contains", _wrap_MIBloomFilter32_bv_contains, METH_VARARGS, "" }, + { "insert_id", _wrap_MIBloomFilter32_insert_id, METH_VARARGS, "" }, + { "get_id", _wrap_MIBloomFilter32_get_id, METH_VARARGS, "" }, + { "insert_saturation", _wrap_MIBloomFilter32_insert_saturation, METH_VARARGS, "" }, + { "save", _wrap_MIBloomFilter32_save, METH_O, "" }, + { "get_pop_cnt", _wrap_MIBloomFilter32_get_pop_cnt, METH_NOARGS, "" }, + { "get_pop_saturated_cnt", _wrap_MIBloomFilter32_get_pop_saturated_cnt, METH_NOARGS, "" }, + { "get_hash_num", _wrap_MIBloomFilter32_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_MIBloomFilter32_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_MIBloomFilter32_get_hash_fn, METH_NOARGS, "" }, + { "get_id_occurence_count", _wrap_MIBloomFilter32_get_id_occurence_count, METH_O, "" }, + { "calc_optimal_size", (PyCFunction)(void(*)(void))_wrap_MIBloomFilter32_calc_optimal_size, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67170,10 +67178,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrFlag", /* tp_name */ + "btllib.MIBloomFilter32", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ + _wrap_delete_MIBloomFilter32_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -67183,36 +67191,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr< btllib::NtHash >::Flag",/* tp_doc */ + "btllib::MIBloomFilter< uint32_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_methods,/* tp_methods */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_getset,/* tp_getset */ + SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_IndexlrFlag, /* tp_init */ + _wrap_new_MIBloomFilter32, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67348,28 +67356,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_t #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type}; -static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; -static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; -static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; -static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; -static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; -static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_getset[] = { - { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, - { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, - { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, - { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, - { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, +static SwigPyGetSet Indexlr___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Indexlr___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67382,11 +67378,24 @@ SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_richcompare(PyObject return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_methods[] = { + { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, + { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, + { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, + { "output_qual", _wrap_Indexlr_output_qual, METH_NOARGS, "" }, + { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, + { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, + { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, + { "long_mode", _wrap_Indexlr_long_mode, METH_NOARGS, "" }, + { "read", _wrap_Indexlr_read, METH_NOARGS, "" }, + { "close", _wrap_Indexlr_close, METH_NOARGS, "" }, + { "__iter__", _wrap_Indexlr___iter__, METH_NOARGS, "" }, + { "__enter__", _wrap_Indexlr___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_Indexlr___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67394,10 +67403,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimi PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Minimizer", /* tp_name */ + "btllib.Indexlr", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ + _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -67407,36 +67416,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimi (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr< btllib::NtHash >::Minimizer", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_Indexlr___iter___getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_methods,/* tp_methods */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_getset,/* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Minimizer, /* tp_init */ + _wrap_new_Indexlr, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67572,26 +67581,16 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimi #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type}; - -static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; -static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; -static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; -static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; -static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_getset[] = { - { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, - { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, - { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type}; + +static SwigPyGetSet IndexlrFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrFlag___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -67604,12 +67603,11 @@ SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_richcompare(PyObject *s return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_methods[] = { - { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -67617,10 +67615,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrRecord", /* tp_name */ + "btllib.IndexlrFlag", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ + _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ (printfunc) 0, /* tp_print */ (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ @@ -67630,36 +67628,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr< btllib::NtHash >::Record", /* tp_doc */ + "btllib::Indexlr< btllib::NtHash >::Flag",/* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_methods,/* tp_methods */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_getset,/* tp_getset */ + SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ + _wrap_new_IndexlrFlag, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -67708,7 +67706,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -67795,7 +67793,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record #endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type}; static SwigPyGetSet IndexlrRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_getset[] = { @@ -68013,17 +68011,17 @@ SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Re /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ -static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); +static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); +static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_btllib__DataSinkTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((btllib::DataStream *) ((btllib::DataSink *) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_btllib__DataSourceTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((btllib::DataStream *) ((btllib::DataSource *) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); @@ -68037,17 +68035,17 @@ static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__io static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +static void *_p_btllib__DataSinkTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((btllib::DataStream *) ((btllib::DataSink *) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +static void *_p_btllib__DataSourceTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((btllib::DataStream *) ((btllib::DataSource *) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); } static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); @@ -68061,9 +68059,6 @@ static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ba static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); -} static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } @@ -68073,7 +68068,9 @@ static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basi static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } -static swig_type_info _swigt__p_HashedKmer = {"_p_HashedKmer", "HashedKmer *", 0, 0, (void*)0, 0}; +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +} static swig_type_info _swigt__p_SwigPyObject = {"_p_SwigPyObject", "SwigPyObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0}; @@ -68091,8 +68088,6 @@ static swig_type_info _swigt__p_btllib__DataStream = {"_p_btllib__DataStream", " static swig_type_info _swigt__p_btllib__Datatype = {"_p_btllib__Datatype", "btllib::Datatype *", 0, 0, (void*)&SwigPyBuiltin__btllib__Datatype_clientdata, 0}; static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t = {"_p_btllib__IndexlrT_btllib__NtHash_t", "btllib::Indexlr< btllib::NtHash > *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag = {"_p_btllib__IndexlrT_btllib__NtHash_t__Flag", "btllib::Indexlr< btllib::NtHash >::Flag *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata, 0}; -static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer = {"_p_btllib__IndexlrT_btllib__NtHash_t__Minimizer", "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::value_type *|btllib::Indexlr< btllib::NtHash >::Minimizer *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_clientdata, 0}; -static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Record = {"_p_btllib__IndexlrT_btllib__NtHash_t__Record", "btllib::Indexlr< btllib::NtHash >::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_clientdata, 0}; static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator = {"_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator", "btllib::Indexlr< btllib::NtHash >::RecordIterator *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerBloomFilter = {"_p_btllib__KmerBloomFilter", "btllib::KmerBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerBloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter< unsigned char > *|btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; @@ -68101,8 +68096,10 @@ static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_ static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_char_t = {"_p_btllib__MIBloomFilterT_unsigned_char_t", "btllib::MIBloomFilter< unsigned char > *|btllib::MIBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_int_t = {"_p_btllib__MIBloomFilterT_unsigned_int_t", "btllib::MIBloomFilter< uint32_t > *|btllib::MIBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_short_t = {"_p_btllib__MIBloomFilterT_unsigned_short_t", "btllib::MIBloomFilter< unsigned short > *|btllib::MIBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__Minimizer = {"_p_btllib__Minimizer", "std::vector< btllib::Minimizer >::value_type *|btllib::Minimizer *|btllib::HashedKmer *", 0, 0, (void*)&SwigPyBuiltin__btllib__Minimizer_clientdata, 0}; static swig_type_info _swigt__p_btllib__NtHash = {"_p_btllib__NtHash", "btllib::NtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__NtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__RandSeq = {"_p_btllib__RandSeq", "btllib::RandSeq *", 0, 0, (void*)&SwigPyBuiltin__btllib__RandSeq_clientdata, 0}; +static swig_type_info _swigt__p_btllib__Record = {"_p_btllib__Record", "btllib::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__Record_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedAAHash = {"_p_btllib__SeedAAHash", "btllib::SeedAAHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedAAHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedBloomFilter = {"_p_btllib__SeedBloomFilter", "btllib::SeedBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedBloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedNtHash = {"_p_btllib__SeedNtHash", "btllib::SeedNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedNtHash_clientdata, 0}; @@ -68151,7 +68148,7 @@ static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *| static swig_type_info _swigt__p_size_t = {"_p_size_t", "std::streamsize *|size_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_state_type = {"_p_state_type", "state_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t = {"_p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t", "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >::allocator_type *|std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_btllib__Minimizer_t = {"_p_std__allocatorT_btllib__Minimizer_t", "std::vector< btllib::Minimizer >::allocator_type *|std::allocator< btllib::Minimizer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0}; @@ -68169,7 +68166,7 @@ static swig_type_info _swigt__p_std__ios_base = {"_p_std__ios_base", "std::ios_b static swig_type_info _swigt__p_std__locale = {"_p_std__locale", "std::locale *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string_view = {"_p_std__string_view", "std::string_view *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t = {"_p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t", "std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer > *|std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer,std::allocator< btllib::Indexlr< btllib::NtHash >::Minimizer > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t = {"_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t", "std::vector< btllib::Minimizer > *|std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_double_std__allocatorT_double_t_t = {"_p_std__vectorT_double_std__allocatorT_double_t_t", "std::vector< double,std::allocator< double > > *|std::vector< double > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_double_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_int_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t = {"_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t", "btllib::SpacedSeedBlocks *|std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > *", 0, 0, (void*)0, 0}; @@ -68191,7 +68188,6 @@ static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib:: static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { - &_swigt__p_HashedKmer, &_swigt__p_SwigPyObject, &_swigt__p_allocator_type, &_swigt__p_bool, @@ -68209,8 +68205,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_btllib__Datatype, &_swigt__p_btllib__IndexlrT_btllib__NtHash_t, &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag, - &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, - &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Record, &_swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, &_swigt__p_btllib__KmerBloomFilter, &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t, @@ -68219,8 +68213,10 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_btllib__MIBloomFilterT_unsigned_char_t, &_swigt__p_btllib__MIBloomFilterT_unsigned_int_t, &_swigt__p_btllib__MIBloomFilterT_unsigned_short_t, + &_swigt__p_btllib__Minimizer, &_swigt__p_btllib__NtHash, &_swigt__p_btllib__RandSeq, + &_swigt__p_btllib__Record, &_swigt__p_btllib__SeedAAHash, &_swigt__p_btllib__SeedBloomFilter, &_swigt__p_btllib__SeedNtHash, @@ -68269,7 +68265,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_size_t, &_swigt__p_size_type, &_swigt__p_state_type, - &_swigt__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, + &_swigt__p_std__allocatorT_btllib__Minimizer_t, &_swigt__p_std__allocatorT_double_t, &_swigt__p_std__allocatorT_int_t, &_swigt__p_std__allocatorT_std__string_t, @@ -68287,7 +68283,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__locale, &_swigt__p_std__string, &_swigt__p_std__string_view, - &_swigt__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, + &_swigt__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, &_swigt__p_std__vectorT_double_std__allocatorT_double_t_t, &_swigt__p_std__vectorT_int_std__allocatorT_int_t_t, &_swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t, @@ -68309,7 +68305,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_value_type, }; -static swig_cast_info _swigc__p_HashedKmer[] = { {&_swigt__p_HashedKmer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_SwigPyObject[] = { {&_swigt__p_SwigPyObject, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_allocator_type[] = { {&_swigt__p_allocator_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}}; @@ -68327,8 +68322,6 @@ static swig_cast_info _swigc__p_btllib__DataStream[] = { {&_swigt__p_btllib__Da static swig_cast_info _swigc__p_btllib__Datatype[] = { {&_swigt__p_btllib__Datatype, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Flag[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Record[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__Record, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator[] = { {&_swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerBloomFilter[] = { {&_swigt__p_btllib__KmerBloomFilter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_char_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -68337,8 +68330,10 @@ static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_short_ static swig_cast_info _swigc__p_btllib__MIBloomFilterT_unsigned_char_t[] = { {&_swigt__p_btllib__MIBloomFilterT_unsigned_char_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__MIBloomFilterT_unsigned_int_t[] = { {&_swigt__p_btllib__MIBloomFilterT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__MIBloomFilterT_unsigned_short_t[] = { {&_swigt__p_btllib__MIBloomFilterT_unsigned_short_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__Minimizer[] = { {&_swigt__p_btllib__Minimizer, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__NtHash[] = { {&_swigt__p_btllib__NtHash, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__RandSeq[] = { {&_swigt__p_btllib__RandSeq, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__Record[] = { {&_swigt__p_btllib__Record, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedAAHash[] = { {&_swigt__p_btllib__SeedAAHash, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedBloomFilter[] = { {&_swigt__p_btllib__SeedBloomFilter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedNtHash[] = { {&_swigt__p_btllib__SeedNtHash, 0, 0, 0},{0, 0, 0, 0}}; @@ -68387,7 +68382,7 @@ static swig_cast_info _swigc__p_signed_char[] = { {&_swigt__p_signed_char, 0, 0 static swig_cast_info _swigc__p_size_t[] = { {&_swigt__p_size_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_state_type[] = { {&_swigt__p_state_type, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t[] = { {&_swigt__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__allocatorT_btllib__Minimizer_t[] = { {&_swigt__p_std__allocatorT_btllib__Minimizer_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_double_t[] = { {&_swigt__p_std__allocatorT_double_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_int_t[] = { {&_swigt__p_std__allocatorT_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p_std__allocatorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -68405,7 +68400,7 @@ static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__basic_iosT static swig_cast_info _swigc__p_std__locale[] = { {&_swigt__p_std__locale, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string_view[] = { {&_swigt__p_std__string_view, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t[] = { {&_swigt__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t[] = { {&_swigt__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_double_std__allocatorT_double_t_t[] = { {&_swigt__p_std__vectorT_double_std__allocatorT_double_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_int_std__allocatorT_int_t_t[] = { {&_swigt__p_std__vectorT_int_std__allocatorT_int_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t[] = { {&_swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -68427,7 +68422,6 @@ static swig_cast_info _swigc__p_unsigned_short[] = { {&_swigt__p_unsigned_short static swig_cast_info _swigc__p_value_type[] = { {&_swigt__p_value_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info *swig_cast_initial[] = { - _swigc__p_HashedKmer, _swigc__p_SwigPyObject, _swigc__p_allocator_type, _swigc__p_bool, @@ -68445,8 +68439,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_btllib__Datatype, _swigc__p_btllib__IndexlrT_btllib__NtHash_t, _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Flag, - _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Minimizer, - _swigc__p_btllib__IndexlrT_btllib__NtHash_t__Record, _swigc__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, _swigc__p_btllib__KmerBloomFilter, _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_char_t, @@ -68455,8 +68447,10 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_btllib__MIBloomFilterT_unsigned_char_t, _swigc__p_btllib__MIBloomFilterT_unsigned_int_t, _swigc__p_btllib__MIBloomFilterT_unsigned_short_t, + _swigc__p_btllib__Minimizer, _swigc__p_btllib__NtHash, _swigc__p_btllib__RandSeq, + _swigc__p_btllib__Record, _swigc__p_btllib__SeedAAHash, _swigc__p_btllib__SeedBloomFilter, _swigc__p_btllib__SeedNtHash, @@ -68505,7 +68499,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_size_t, _swigc__p_size_type, _swigc__p_state_type, - _swigc__p_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t, + _swigc__p_std__allocatorT_btllib__Minimizer_t, _swigc__p_std__allocatorT_double_t, _swigc__p_std__allocatorT_int_t, _swigc__p_std__allocatorT_std__string_t, @@ -68523,7 +68517,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__locale, _swigc__p_std__string, _swigc__p_std__string_view, - _swigc__p_std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_std__allocatorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_t, + _swigc__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, _swigc__p_std__vectorT_double_std__allocatorT_double_t_t, _swigc__p_std__vectorT_int_std__allocatorT_int_t_t, _swigc__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t, @@ -69773,8 +69767,8 @@ SWIG_init(void) { SwigPyBuiltin_AddPublicSymbol(public_interface, "VectorUint64t"); d = md; - /* type 'std::vector< btllib::Indexlr< btllib::NtHash >::Minimizer >' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__IndexlrT_btllib__NtHash_t__Minimizer_t_type; + /* type 'std::vector< btllib::Minimizer >' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -69818,6 +69812,52 @@ SWIG_init(void) { PyModule_AddObject(m, "VectorSpacedSeed", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "VectorSpacedSeed"); d = md; + + /* type 'btllib::Minimizer' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Minimizer_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'Minimizer'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "Minimizer", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Minimizer"); + d = md; + + /* type 'btllib::Record' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Record_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'Record'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "Record", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Record"); + d = md; SWIG_addvarlink(globals, "BIT_MASKS", Swig_var_BIT_MASKS_get, Swig_var_BIT_MASKS_set); PyDict_SetItemString(md, "BIT_MASKS", PyObject_GetAttrString(globals, "BIT_MASKS")); SwigPyBuiltin_AddPublicSymbol(public_interface, "BIT_MASKS"); @@ -71106,52 +71146,6 @@ SWIG_init(void) { SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrFlag"); d = md; - /* type 'btllib::Indexlr< btllib::NtHash >::Minimizer' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Minimizer_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Minimizer'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Minimizer", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Minimizer"); - d = md; - - /* type 'btllib::Indexlr< btllib::NtHash >::Record' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecord'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrRecord", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecord"); - d = md; - /* type 'btllib::Indexlr< btllib::NtHash >::RecordIterator' */ builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type; builtin_pytype->tp_dict = d = PyDict_New(); diff --git a/wrappers/python/extra.i b/wrappers/python/extra.i index eeea5614..8422008e 100644 --- a/wrappers/python/extra.i +++ b/wrappers/python/extra.i @@ -100,10 +100,10 @@ } %} -%typemap(out) std::vector::Minimizer>* %{ +%typemap(out) std::vector* %{ $result = PyList_New($1->size()); for (unsigned i = 0; i < $1->size(); ++i) { - PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*($1))[i]), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_OWN); + PyObject *item = SWIG_NewPointerObj(new btllib::Minimizer((*($1))[i]), SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_OWN); PyList_SetItem($result, i, item); } %} From 2399bb3ade6d085293c5b451922676e8bfa6a4bf Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 11:49:48 -0700 Subject: [PATCH 10/12] indexlr: compile wrappers with swig 4.1.1 --- wrappers/python/btllib.py | 105 +- wrappers/python/btllib_wrap.cxx | 4542 +++++++++++++++++++++---------- 2 files changed, 3179 insertions(+), 1468 deletions(-) diff --git a/wrappers/python/btllib.py b/wrappers/python/btllib.py index 9ace533c..e60fa8be 100644 --- a/wrappers/python/btllib.py +++ b/wrappers/python/btllib.py @@ -1,111 +1,12 @@ -# This file was automatically generated by SWIG (http://www.swig.org). -# Version 4.0.2 +# This file was automatically generated by SWIG (https://www.swig.org). +# Version 4.1.1 # -# Do not make changes to this file unless you know what you are doing--modify +# 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") - # Pull in all the attributes from the low-level C/C++ module if __package__ or "." in __name__: from ._btllib import * else: from _btllib import * - -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__) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/wrappers/python/btllib_wrap.cxx b/wrappers/python/btllib_wrap.cxx index 830503c3..cd335cbf 100644 --- a/wrappers/python/btllib_wrap.cxx +++ b/wrappers/python/btllib_wrap.cxx @@ -1,44 +1,17 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#ifndef SWIGPYTHON +#define SWIG_VERSION 0x040101 #define SWIGPYTHON -#endif - #define SWIG_PYTHON_DIRECTOR_NO_VTABLE #define SWIGPYTHON_BUILTIN - - -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -template T SwigValueInit() { - return T(); -} -#endif +#define SWIGPYTHON_FASTPROXY /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable @@ -170,8 +143,26 @@ template T SwigValueInit() { # include #endif +#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN) +#define PY_SSIZE_T_CLEAN +#endif + +#if __GNUC__ >= 7 +#pragma GCC diagnostic push +#if defined(__cplusplus) && __cplusplus >=201703L +#pragma GCC diagnostic ignored "-Wregister" /* For python-2.7 headers that use register */ +#endif +#endif + #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG) /* Use debug wrappers with the Python release dll */ + +#if defined(_MSC_VER) && _MSC_VER >= 1929 +/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later + * See https://github.com/swig/swig/issues/2090 */ +# include +#endif + # undef _DEBUG # include # define _DEBUG 1 @@ -179,6 +170,10 @@ template T SwigValueInit() { # include #endif +#if __GNUC__ >= 7 +#pragma GCC diagnostic pop +#endif + /* ----------------------------------------------------------------------------- * swigrun.swg * @@ -225,6 +220,8 @@ template T SwigValueInit() { #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 +#define SWIG_POINTER_CLEAR 0x8 +#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 @@ -296,7 +293,7 @@ template T SwigValueInit() { SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this + allows returning the 'cast rank', for example, if you have this int food(double) int fooi(int); @@ -310,7 +307,13 @@ template T SwigValueInit() { */ #define SWIG_OK (0) +/* Runtime errors are < 0 */ #define SWIG_ERROR (-1) +/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */ +/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */ +/* Errors < -200 are generic runtime specific errors */ +#define SWIG_ERROR_RELEASE_NOT_OWNED (-200) + #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) @@ -325,7 +328,7 @@ template T SwigValueInit() { #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ +/* Check, add and del object mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) @@ -471,7 +474,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) { Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison */ SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { +SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { @@ -531,9 +534,9 @@ SWIG_TypeName(const swig_type_info *ty) { SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ + type, separated by vertical-bar characters. Choose the last + name. It should be the most specific; a fully resolved name + but not necessarily with default template parameters expanded. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; @@ -753,7 +756,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/* Errors in SWIG */ +/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -769,7 +772,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define SWIG_NullReferenceError -13 - /* Compatibility macros for Python 3 */ #if PY_VERSION_HEX >= 0x03000000 @@ -785,7 +787,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define PyString_Size(str) PyBytes_Size(str) #define PyString_InternFromString(key) PyUnicode_InternFromString(key) #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE -#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x) #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x) #endif @@ -803,38 +804,19 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #endif -/* Warning: This function will allocate a new string in Python 3, - * so please call SWIG_Python_str_DelForPy3(x) to free the space. - */ SWIGINTERN char* SWIG_Python_str_AsChar(PyObject *str) { #if PY_VERSION_HEX >= 0x03030000 return (char *)PyUnicode_AsUTF8(str); -#elif PY_VERSION_HEX >= 0x03000000 - char *newstr = 0; - str = PyUnicode_AsUTF8String(str); - if (str) { - char *cstr; - Py_ssize_t len; - if (PyBytes_AsStringAndSize(str, &cstr, &len) != -1) { - newstr = (char *) malloc(len+1); - if (newstr) - memcpy(newstr, cstr, len+1); - } - Py_XDECREF(str); - } - return newstr; #else return PyString_AsString(str); #endif } -#if PY_VERSION_HEX >= 0x03030000 || PY_VERSION_HEX < 0x03000000 -# define SWIG_Python_str_DelForPy3(x) -#else -# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) -#endif +/* Was useful for Python 3.0.x-3.2.x - now provided only for compatibility + * with any uses in user interface files. */ +#define SWIG_Python_str_DelForPy3(x) SWIGINTERN PyObject* @@ -851,10 +833,14 @@ SWIG_Python_str_FromChar(const char *c) # define PyObject_DEL PyObject_Del #endif -// SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user -// interface files check for it. +/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */ # define SWIGPY_USE_CAPSULE -# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) +#ifdef SWIGPYTHON_BUILTIN +# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME +#else +# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME +#endif +# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION "." SWIGPY_CAPSULE_ATTR_NAME) #if PY_VERSION_HEX < 0x03020000 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) @@ -928,7 +914,6 @@ SWIG_Python_AddErrorMsg(const char* mesg) PyErr_Format(type, "%s %s", tmp, mesg); else PyErr_Format(type, "%s", mesg); - SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); Py_DECREF(value); } else { @@ -959,8 +944,12 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) #else newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message); #endif - Py_XDECREF(value); - PyErr_Restore(type, newvalue, traceback); + if (newvalue) { + Py_XDECREF(value); + PyErr_Restore(type, newvalue, traceback); + } else { + PyErr_Restore(type, value, traceback); + } } else { /* Raise TypeError using given message */ PyErr_SetString(PyExc_TypeError, message); @@ -1080,8 +1069,8 @@ typedef struct swig_const_info { # error "This version of SWIG only supports Python >= 2.7" #endif -#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000 -# error "This version of SWIG only supports Python 3 >= 3.2" +#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000 +# error "This version of SWIG only supports Python 3 >= 3.3" #endif /* Common SWIG API */ @@ -1196,7 +1185,12 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { if (!PyList_Check(result)) { PyObject *o2 = result; result = PyList_New(1); - PyList_SetItem(result, 0, o2); + if (result) { + PyList_SET_ITEM(result, 0, o2); + } else { + Py_DECREF(obj); + return o2; + } } PyList_Append(result,obj); Py_DECREF(obj); @@ -1278,6 +1272,238 @@ SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) { #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var #endif +#ifdef __cplusplus +extern "C" { +#endif + +/* Python-specific SWIG API */ +#define SWIG_newvarlink() SWIG_Python_newvarlink() +#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) +#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) + +/* ----------------------------------------------------------------------------- + * global variable support code. + * ----------------------------------------------------------------------------- */ + +typedef struct swig_globalvar { + char *name; /* Name of global variable */ + PyObject *(*get_attr)(void); /* Return the current value */ + int (*set_attr)(PyObject *); /* Set the value */ + struct swig_globalvar *next; +} swig_globalvar; + +typedef struct swig_varlinkobject { + PyObject_HEAD + swig_globalvar *vars; +} swig_varlinkobject; + +SWIGINTERN PyObject * +swig_varlink_repr(PyObject *SWIGUNUSEDPARM(v)) { +#if PY_VERSION_HEX >= 0x03000000 + return PyUnicode_InternFromString(""); +#else + return PyString_FromString(""); +#endif +} + +SWIGINTERN PyObject * +swig_varlink_str(PyObject *o) { + swig_varlinkobject *v = (swig_varlinkobject *) o; +#if PY_VERSION_HEX >= 0x03000000 + PyObject *str = PyUnicode_InternFromString("("); + PyObject *tail; + PyObject *joined; + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + tail = PyUnicode_FromString(var->name); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + if (var->next) { + tail = PyUnicode_InternFromString(", "); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + } + } + tail = PyUnicode_InternFromString(")"); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; +#else + PyObject *str = PyString_FromString("("); + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + PyString_ConcatAndDel(&str,PyString_FromString(var->name)); + if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); + } + PyString_ConcatAndDel(&str,PyString_FromString(")")); +#endif + return str; +} + +SWIGINTERN void +swig_varlink_dealloc(PyObject *o) { + swig_varlinkobject *v = (swig_varlinkobject *) o; + swig_globalvar *var = v->vars; + while (var) { + swig_globalvar *n = var->next; + free(var->name); + free(var); + var = n; + } +} + +SWIGINTERN PyObject * +swig_varlink_getattr(PyObject *o, char *n) { + swig_varlinkobject *v = (swig_varlinkobject *) o; + PyObject *res = NULL; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->get_attr)(); + break; + } + var = var->next; + } + if (res == NULL && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; +} + +SWIGINTERN int +swig_varlink_setattr(PyObject *o, char *n, PyObject *p) { + swig_varlinkobject *v = (swig_varlinkobject *) o; + int res = 1; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->set_attr)(p); + break; + } + var = var->next; + } + if (res == 1 && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; +} + +SWIGINTERN PyTypeObject* +swig_varlink_type(void) { + static char varlink__doc__[] = "Swig var link object"; + static PyTypeObject varlink_type; + static int type_init = 0; + if (!type_init) { + const PyTypeObject tmp = { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "swigvarlink", /* tp_name */ + sizeof(swig_varlinkobject), /* tp_basicsize */ + 0, /* tp_itemsize */ + (destructor) swig_varlink_dealloc, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /*tp_print*/ +#else + (Py_ssize_t)0, /*tp_vectorcall_offset*/ +#endif + (getattrfunc) swig_varlink_getattr, /* tp_getattr */ + (setattrfunc) swig_varlink_setattr, /* tp_setattr */ + 0, /* tp_compare */ + (reprfunc) swig_varlink_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + (reprfunc) swig_varlink_str, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + 0, /* tp_flags */ + varlink__doc__, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + 0, /* tp_allocs */ + 0, /* tp_frees */ + 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0 /* tp_next */ +#endif + }; + varlink_type = tmp; + type_init = 1; + if (PyType_Ready(&varlink_type) < 0) + return NULL; + } + return &varlink_type; +} + +/* Create a variable linking object for use later */ +SWIGINTERN PyObject * +SWIG_Python_newvarlink(void) { + swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); + if (result) { + result->vars = 0; + } + return ((PyObject*) result); +} + +SWIGINTERN void +SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { + swig_varlinkobject *v = (swig_varlinkobject *) p; + swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); + if (gv) { + size_t size = strlen(name)+1; + gv->name = (char *)malloc(size); + if (gv->name) { + memcpy(gv->name, name, size); + gv->get_attr = get_attr; + gv->set_attr = set_attr; + gv->next = v->vars; + } + } + v->vars = gv; +} + + +static PyObject *Swig_Globals_global = NULL; + +SWIGINTERN PyObject * +SWIG_globals(void) { + if (Swig_Globals_global == NULL) { + Swig_Globals_global = SWIG_newvarlink(); + } + return Swig_Globals_global; +} + +#ifdef __cplusplus +} +#endif + /* ----------------------------------------------------------------------------- * Pointer declarations * ----------------------------------------------------------------------------- */ @@ -1348,18 +1574,25 @@ SwigPyClientData_New(PyObject* obj) /* the newraw method and newargs arguments used to create a new raw instance */ if (PyClass_Check(obj)) { data->newraw = 0; - data->newargs = obj; Py_INCREF(obj); + data->newargs = obj; } else { data->newraw = PyObject_GetAttrString(data->klass, "__new__"); if (data->newraw) { - Py_INCREF(data->newraw); - data->newargs = PyTuple_New(1); - PyTuple_SetItem(data->newargs, 0, obj); + data->newargs = PyTuple_New(1); + if (data->newargs) { + Py_INCREF(obj); + PyTuple_SET_ITEM(data->newargs, 0, obj); + } else { + Py_DECREF(data->newraw); + Py_DECREF(data->klass); + free(data); + return 0; + } } else { - data->newargs = obj; + Py_INCREF(obj); + data->newargs = obj; } - Py_INCREF(data->newargs); } /* the destroy method, aka as the C++ delete method */ data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__"); @@ -1368,10 +1601,7 @@ SwigPyClientData_New(PyObject* obj) data->destroy = 0; } if (data->destroy) { - int flags; - Py_INCREF(data->destroy); - flags = PyCFunction_GET_FLAGS(data->destroy); - data->delargs = !(flags & (METH_O)); + data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O); } else { data->delargs = 0; } @@ -1382,10 +1612,13 @@ SwigPyClientData_New(PyObject* obj) } SWIGRUNTIME void -SwigPyClientData_Del(SwigPyClientData *data) { +SwigPyClientData_Del(SwigPyClientData *data) +{ + Py_XDECREF(data->klass); Py_XDECREF(data->newraw); Py_XDECREF(data->newargs); Py_XDECREF(data->destroy); + free(data); } /* =============== SwigPyObject =====================*/ @@ -1412,7 +1645,7 @@ SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) if (!sobj->dict) sobj->dict = PyDict_New(); - Py_INCREF(sobj->dict); + Py_XINCREF(sobj->dict); return sobj->dict; } @@ -1430,18 +1663,21 @@ SwigPyObject_format(const char* fmt, SwigPyObject *v) PyObject *res = NULL; PyObject *args = PyTuple_New(1); if (args) { - if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) { - PyObject *ofmt = SWIG_Python_str_FromChar(fmt); + PyObject *val = SwigPyObject_long(v); + if (val) { + PyObject *ofmt; + PyTuple_SET_ITEM(args, 0, val); + ofmt = SWIG_Python_str_FromChar(fmt); if (ofmt) { #if PY_VERSION_HEX >= 0x03000000 - res = PyUnicode_Format(ofmt,args); + res = PyUnicode_Format(ofmt,args); #else - res = PyString_Format(ofmt,args); + res = PyString_Format(ofmt,args); #endif - Py_DECREF(ofmt); + Py_DECREF(ofmt); } - Py_DECREF(args); } + Py_DECREF(args); } return res; } @@ -1463,18 +1699,23 @@ SwigPyObject_repr(SwigPyObject *v) { const char *name = SWIG_TypePrettyName(v->ty); PyObject *repr = SWIG_Python_str_FromFormat("", (name ? name : "unknown"), (void *)v); - if (v->next) { + if (repr && v->next) { PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next); + if (nrep) { # if PY_VERSION_HEX >= 0x03000000 - PyObject *joined = PyUnicode_Concat(repr, nrep); - Py_DecRef(repr); - Py_DecRef(nrep); - repr = joined; + PyObject *joined = PyUnicode_Concat(repr, nrep); + Py_DecRef(repr); + Py_DecRef(nrep); + repr = joined; # else - PyString_ConcatAndDel(&repr,nrep); + PyString_ConcatAndDel(&repr,nrep); # endif + } else { + Py_DecRef(repr); + repr = NULL; + } } - return repr; + return repr; } /* We need a version taking two PyObject* parameters so it's a valid @@ -1544,6 +1785,8 @@ SwigPyObject_Check(PyObject *op) { SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own); +static PyObject* Swig_Capsule_global = NULL; + SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v) { @@ -1570,8 +1813,12 @@ SwigPyObject_dealloc(PyObject *v) if (data->delargs) { /* we need to create a temporary object to carry the destroy operation */ PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); + if (tmp) { + res = SWIG_Python_CallFunctor(destroy, tmp); + } else { + res = 0; + } + Py_XDECREF(tmp); } else { PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); PyObject *mself = PyCFunction_GET_SELF(destroy); @@ -1590,8 +1837,12 @@ SwigPyObject_dealloc(PyObject *v) printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); } #endif - } + Py_XDECREF(Swig_Capsule_global); + } Py_XDECREF(next); +#ifdef SWIGPYTHON_BUILTIN + Py_XDECREF(sobj->dict); +#endif PyObject_DEL(v); } @@ -1603,6 +1854,7 @@ SwigPyObject_append(PyObject* v, PyObject* next) PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject"); return NULL; } + ((SwigPyObject *)next)->next = sobj->next; sobj->next = next; Py_INCREF(next); return SWIG_Py_Void(); @@ -1647,9 +1899,9 @@ SwigPyObject_own(PyObject *v, PyObject *args) PyObject *obj = PyBool_FromLong(sobj->own); if (val) { if (PyObject_IsTrue(val)) { - SwigPyObject_acquire(v,args); + Py_DECREF(SwigPyObject_acquire(v,args)); } else { - SwigPyObject_disown(v,args); + Py_DECREF(SwigPyObject_disown(v,args)); } } return obj; @@ -1729,7 +1981,11 @@ SwigPyObject_TypeOnce(void) { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyObject_dealloc, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /*tp_print*/ +#else + (Py_ssize_t)0, /*tp_vectorcall_offset*/ +#endif (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -1794,7 +2050,7 @@ SwigPyObject_TypeOnce(void) { }; swigpyobject_type = tmp; type_init = 1; - if (PyType_Ready(&swigpyobject_type) < 0) + if (PyType_Ready(&swigpyobject_type) != 0) return NULL; } return &swigpyobject_type; @@ -1809,6 +2065,15 @@ SwigPyObject_New(void *ptr, swig_type_info *ty, int own) sobj->ty = ty; sobj->own = own; sobj->next = 0; +#ifdef SWIGPYTHON_BUILTIN + sobj->dict = 0; +#endif + if (own == SWIG_POINTER_OWN) { + /* Obtain a reference to the Python capsule wrapping the module information, so that the + * module information is correctly destroyed after all SWIG python objects have been freed + * by the GC (and corresponding destructors invoked) */ + Py_XINCREF(Swig_Capsule_global); + } } return (PyObject *)sobj; } @@ -1896,7 +2161,11 @@ SwigPyPacked_TypeOnce(void) { sizeof(SwigPyPacked), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /*tp_print*/ +#else + (Py_ssize_t)0, /*tp_vectorcall_offset*/ +#endif (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX>=0x03000000 @@ -1961,7 +2230,7 @@ SwigPyPacked_TypeOnce(void) { }; swigpypacked_type = tmp; type_init = 1; - if (PyType_Ready(&swigpypacked_type) < 0) + if (PyType_Ready(&swigpypacked_type) != 0) return NULL; } return &swigpypacked_type; @@ -2151,12 +2420,19 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int } } if (sobj) { - if (own) - *own = *own | sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; + if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) { + res = SWIG_ERROR_RELEASE_NOT_OWNED; + } else { + if (own) + *own = *own | sobj->own; + if (flags & SWIG_POINTER_DISOWN) { + sobj->own = 0; + } + if (flags & SWIG_POINTER_CLEAR) { + sobj->ptr = 0; + } + res = SWIG_OK; } - res = SWIG_OK; } else { if (implicit_conv) { SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; @@ -2269,12 +2545,17 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) PyObject **dictptr = _PyObject_GetDictPtr(inst); if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - PyDict_SetItem(dict, SWIG_This(), swig_this); - } + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + } + if (dict) { + PyDict_SetItem(dict, SWIG_This(), swig_this); + } else{ + Py_DECREF(inst); + inst = 0; + } } #else if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { @@ -2296,7 +2577,7 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) Py_DECREF(inst); inst = 0; } else { - Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; + PyType_Modified(Py_TYPE(inst)); } } } @@ -2325,7 +2606,11 @@ SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) dict = PyDict_New(); *dictptr = dict; } - return PyDict_SetItem(dict, SWIG_This(), swig_this); + if (dict) { + return PyDict_SetItem(dict, SWIG_This(), swig_this); + } else{ + return -1; + } } #endif return PyObject_SetAttr(inst, SWIG_This(), swig_this); @@ -2340,7 +2625,7 @@ SWIG_Python_InitShadowInstance(PyObject *args) { } else { SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); if (sthis) { - SwigPyObject_append((PyObject*) sthis, obj[1]); + Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1])); } else { if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) return NULL; @@ -2379,7 +2664,9 @@ SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int f } else { newobj = PyObject_New(SwigPyObject, clientdata->pytype); #ifdef SWIGPYTHON_BUILTIN - newobj->dict = 0; + if (newobj) { + newobj->dict = 0; + } #endif } if (newobj) { @@ -2418,39 +2705,61 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif +static PyObject *Swig_TypeCache_global = NULL; + +/* The python cached type query */ +SWIGRUNTIME PyObject * +SWIG_Python_TypeCache(void) { + if (Swig_TypeCache_global == NULL) { + Swig_TypeCache_global = PyDict_New(); + } + return Swig_TypeCache_global; +} + SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) { +#ifdef SWIG_LINK_RUNTIME static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { -#ifdef SWIG_LINK_RUNTIME type_pointer = SWIG_ReturnGlobalTypeList((void *)0); + } #else - type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } -#endif + void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); + if (PyErr_Occurred()) { + PyErr_Clear(); + type_pointer = (void *)0; } +#endif return (swig_module_info *) type_pointer; } + +static int interpreter_counter = 0; // how many (sub-)interpreters are using swig_module's types + SWIGRUNTIME void SWIG_Python_DestroyModule(PyObject *obj) { swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME); swig_type_info **types = swig_module->types; size_t i; + if (--interpreter_counter != 0) // another sub-interpreter may still be using the swig_module's types + return; for (i =0; i < swig_module->size; ++i) { swig_type_info *ty = types[i]; if (ty->owndata) { SwigPyClientData *data = (SwigPyClientData *) ty->clientdata; + ty->clientdata = 0; if (data) SwigPyClientData_Del(data); } } Py_DECREF(SWIG_This()); Swig_This_global = NULL; + Py_DECREF(SWIG_globals()); + Swig_Globals_global = NULL; + Py_DECREF(SWIG_Python_TypeCache()); + Swig_TypeCache_global = NULL; + Swig_Capsule_global = NULL; } SWIGRUNTIME void @@ -2464,19 +2773,17 @@ SWIG_Python_SetModule(swig_module_info *swig_module) { #endif PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule); if (pointer && module) { - PyModule_AddObject(module, "type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer); + if (PyModule_AddObject(module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) { + ++interpreter_counter; + Swig_Capsule_global = pointer; + } else { + Py_DECREF(pointer); + } } else { Py_XDECREF(pointer); } } -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); - return cache; -} - SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type) { @@ -2491,8 +2798,10 @@ SWIG_Python_TypeQuery(const char *type) descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); if (descriptor) { obj = PyCapsule_New((void*) descriptor, NULL, NULL); - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); + if (obj) { + PyDict_SetItem(cache, key, obj); + Py_DECREF(obj); + } } } Py_DECREF(key); @@ -2525,7 +2834,6 @@ SWIG_Python_AddErrMesg(const char* mesg, int infront) } else { PyErr_Format(type, "%s %s", errmesg, mesg); } - SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); } return 1; @@ -2577,7 +2885,6 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) if (cstr) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", type, otype, cstr); - SWIG_Python_str_DelForPy3(cstr); } else { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); @@ -2599,12 +2906,6 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(arg void *result; if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { PyErr_Clear(); -#if SWIG_POINTER_EXCEPTION - if (flags) { - SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); - SWIG_Python_ArgFail(argnum); - } -#endif } return result; } @@ -2635,7 +2936,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } if (!tp->tp_dict) { - if (PyType_Ready(tp) < 0) + if (PyType_Ready(tp) != 0) goto done; } @@ -2650,7 +2951,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } else { encoded_name = PyUnicode_AsUTF8String(name); if (!encoded_name) - return -1; + goto done; } PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); Py_DECREF(encoded_name); @@ -2677,7 +2978,11 @@ SWIGINTERN Py_hash_t SwigPyObject_hash(PyObject *obj) { SwigPyObject *sobj = (SwigPyObject *)obj; void *ptr = sobj->ptr; +#if PY_VERSION_HEX < 0x03020000 + return (Py_hash_t)(Py_ssize_t)ptr; +#else return (Py_hash_t)ptr; +#endif } SWIGINTERN Py_hash_t @@ -2882,7 +3187,11 @@ SwigPyStaticVar_Type(void) { sizeof(PyGetSetDescrObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyStaticVar_dealloc, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /* tp_print */ +#else + (Py_ssize_t)0, /* tp_vectorcall_offset */ +#endif 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -2966,7 +3275,11 @@ SwigPyObjectType(void) { PyType_Type.tp_basicsize, /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /* tp_print */ +#else + (Py_ssize_t)0, /* tp_vectorcall_offset */ +#endif 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -3085,10 +3398,10 @@ SwigPyBuiltin_ThisClosure (PyObject *self, void *SWIGUNUSEDPARM(closure)) { SWIGINTERN void SwigPyBuiltin_SetMetaType (PyTypeObject *type, PyTypeObject *metatype) { -#if PY_VERSION_HEX >= 0x03000000 - type->ob_base.ob_base.ob_type = metatype; +#if PY_VERSION_HEX >= 0x030900a4 + Py_SET_TYPE(type, metatype); #else - type->ob_type = metatype; + Py_TYPE(type) = metatype; #endif } @@ -3426,23 +3739,8 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) -#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else - - - -#ifdef __cplusplus -extern "C" { -#endif - -/* Method creation and docstring support functions */ +#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) -SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name); -SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); -SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); - -#ifdef __cplusplus -} -#endif #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) @@ -3589,8 +3887,52 @@ static swig_module_info swig_module = {swig_types, 115, 0, 0, 0, 0}; #endif #define SWIG_name "_btllib" -#define SWIGVERSION 0x040002 -#define SWIG_VERSION SWIGVERSION +#ifdef __cplusplus +#include +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigSmartPointer { + T *ptr; + SwigSmartPointer(T *p) : ptr(p) { } + ~SwigSmartPointer() { delete ptr; } + SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } +#if __cplusplus >=201103L + SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } + operator T&&() const { return std::move(*pointer.ptr); } +#else + operator T&() const { return *pointer.ptr; } +#endif + T *operator&() const { return pointer.ptr; } + static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } +}; + +/* + * SwigValueInit() is a generic initialisation solution as the following approach: + * + * T c_result = T(); + * + * doesn't compile for all types for example: + * + * unsigned int c_result = unsigned int(); + */ +template T SwigValueInit() { + return T(); +} + +#if __cplusplus >=201103L +# define SWIG_STD_MOVE(OBJ) std::move(OBJ) +#else +# define SWIG_STD_MOVE(OBJ) OBJ +#endif + +#endif #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) @@ -4373,10 +4715,6 @@ inline int SWIG_isfinite_func(T x) { # define SWIG_isfinite(X) (SWIG_isfinite_func(X)) # elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) # define SWIG_isfinite(X) (__builtin_isfinite(X)) -# elif defined(__clang__) && defined(__has_builtin) -# if __has_builtin(__builtin_isfinite) -# define SWIG_isfinite(X) (__builtin_isfinite(X)) -# endif # elif defined(_MSC_VER) # define SWIG_isfinite(X) (_finite(X)) # elif defined(__sun) && defined(__SVR4) @@ -4420,9 +4758,9 @@ SWIGINTERN std::basic_ostream< char,std::char_traits< char > > &std_basic_ostrea #include #if PY_VERSION_HEX >= 0x03020000 -# define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj)) +# define SWIGPY_SLICEOBJECT PyObject #else -# define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj)) +# define SWIGPY_SLICEOBJECT PySliceObject #endif @@ -5883,46 +6221,46 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delslice__(std::vector< uns SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_0(std::vector< unsigned char > *self,std::vector< unsigned char >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_0(std::vector< unsigned char > *self,PySliceObject *slice){ +SWIGINTERN std::vector< unsigned char,std::allocator< unsigned char > > *std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_0(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_0(std::vector< unsigned char > *self,PySliceObject *slice,std::vector< unsigned char,std::allocator< unsigned char > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_0(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned char,std::allocator< unsigned char > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_1(std::vector< unsigned char > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_1(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_1(std::vector< unsigned char > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_1(std::vector< unsigned char > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned char,std::allocator< unsigned char > >::difference_type id = i; std::vector< unsigned char,std::allocator< unsigned char > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6098,46 +6436,46 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::stri SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice){ +SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > > const &v){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::string,std::allocator< std::string > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6222,46 +6560,46 @@ SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std: SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){ +SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< int,std::allocator< int > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6353,46 +6691,46 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delslice__(std::vector< unsi SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice){ +SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6480,46 +6818,46 @@ SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *sel SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){ +SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice,std::vector< double,std::allocator< double > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6604,46 +6942,46 @@ SWIGINTERN void std_vector_Sl_uint64_t_Sg____delslice__(std::vector< uint64_t > SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(std::vector< uint64_t > *self,std::vector< uint64_t >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice){ +SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6716,46 +7054,46 @@ SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delslice__(std::vector< btl SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Minimizer > *self,std::vector< btllib::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Minimizer > *self,PySliceObject *slice,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Minimizer > *self,SWIGPY_SLICEOBJECT *slice,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type id = i; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6820,46 +7158,46 @@ SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(std::vector< bt SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ +SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6979,6 +7317,9 @@ SWIGINTERN void delete_btllib_AAHash(btllib::AAHash *self){ nthash_ids.erase((void*)self); } +#include + + SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_short (unsigned short value) { @@ -7656,6 +7997,7 @@ SWIGINTERN PyObject *_wrap_ios_base_register_callback(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_register_callback", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7688,6 +8030,7 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7712,6 +8055,7 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7737,6 +8081,7 @@ SWIGINTERN PyObject *_wrap_ios_base_flags(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_flags", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -7769,6 +8114,7 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_0(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7801,6 +8147,7 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7831,6 +8178,7 @@ SWIGINTERN PyObject *_wrap_ios_base_setf(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_setf", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -7863,6 +8211,7 @@ SWIGINTERN PyObject *_wrap_ios_base_unsetf(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -7890,6 +8239,7 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7914,6 +8264,7 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7939,6 +8290,7 @@ SWIGINTERN PyObject *_wrap_ios_base_precision(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_precision", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -7968,6 +8320,7 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7992,6 +8345,7 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8017,6 +8371,7 @@ SWIGINTERN PyObject *_wrap_ios_base_width(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_width", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8046,6 +8401,7 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_0(PyObject *self, Py_s int ecode1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -8064,6 +8420,7 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_1(PyObject *self, Py_s PyObject *resultobj = 0; bool result; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (bool)std::ios_base::sync_with_stdio(); resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -8079,6 +8436,7 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_sync_with_stdio", 0, 1, argv))) SWIG_fail; --argc; if (argc == 0) { @@ -8112,6 +8470,7 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8128,7 +8487,7 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8140,9 +8499,9 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::locale result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_getloc", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8150,7 +8509,7 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::ios_base * >(argp1); result = ((std::ios_base const *)arg1)->getloc(); - resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8161,6 +8520,7 @@ SWIGINTERN PyObject *_wrap_ios_base_xalloc(PyObject *self, PyObject *args) { PyObject *resultobj = 0; int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_xalloc", 0, 0, 0)) SWIG_fail; result = (int)std::ios_base::xalloc(); resultobj = SWIG_From_int(static_cast< int >(result)); @@ -8181,6 +8541,7 @@ SWIGINTERN PyObject *_wrap_ios_base_iword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; long *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8212,6 +8573,7 @@ SWIGINTERN PyObject *_wrap_ios_base_pword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; void **result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8237,8 +8599,8 @@ SWIGINTERN PyObject *_wrap_delete_ios_base(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios_base", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8260,9 +8622,9 @@ SWIGINTERN PyObject *_wrap_ios_rdstate(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::ios_base::iostate result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_rdstate", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8286,6 +8648,7 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8311,6 +8674,7 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, P void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8331,6 +8695,7 @@ SWIGINTERN PyObject *_wrap_ios_clear(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8363,6 +8728,7 @@ SWIGINTERN PyObject *_wrap_ios_setstate(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8388,9 +8754,9 @@ SWIGINTERN PyObject *_wrap_ios_good(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_good", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8410,9 +8776,9 @@ SWIGINTERN PyObject *_wrap_ios_eof(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_eof", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8432,9 +8798,9 @@ SWIGINTERN PyObject *_wrap_ios_fail(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_fail", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8454,9 +8820,9 @@ SWIGINTERN PyObject *_wrap_ios_bad(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_bad", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8478,6 +8844,7 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::iostate result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8501,6 +8868,7 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_1(PyObject *self, Py_ssize_t nob int val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8526,6 +8894,7 @@ SWIGINTERN PyObject *_wrap_ios_exceptions(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_exceptions", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8556,6 +8925,7 @@ SWIGINTERN int _wrap_new_ios(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *swig_obj[1] ; std::basic_ios< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ios")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ios", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8576,8 +8946,8 @@ SWIGINTERN PyObject *_wrap_delete_ios(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8599,6 +8969,7 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8623,6 +8994,7 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8648,6 +9020,7 @@ SWIGINTERN PyObject *_wrap_ios_tie(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_tie", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8677,6 +9050,7 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int res1 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8701,6 +9075,7 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int res2 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8726,6 +9101,7 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_rdbuf", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8759,6 +9135,7 @@ SWIGINTERN PyObject *_wrap_ios_copyfmt(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8789,6 +9166,7 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int res1 = 0 ; std::basic_ios< char >::char_type result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8813,6 +9191,7 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode2 = 0 ; std::basic_ios< char >::char_type result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8838,6 +9217,7 @@ SWIGINTERN PyObject *_wrap_ios_fill(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_fill", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8871,6 +9251,7 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8887,7 +9268,7 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8908,6 +9289,7 @@ SWIGINTERN PyObject *_wrap_ios_narrow(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; char result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_narrow", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8943,6 +9325,7 @@ SWIGINTERN PyObject *_wrap_ios_widen(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char >::char_type result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9037,6 +9420,7 @@ SWIGINTERN int _wrap_new_ostream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_ostream< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9057,8 +9441,8 @@ SWIGINTERN PyObject *_wrap_delete_ostream(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -9081,6 +9465,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9111,6 +9496,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9141,6 +9527,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9173,6 +9560,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_3(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9204,6 +9592,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_4(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9235,6 +9624,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_5(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9266,6 +9656,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_6(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9297,6 +9688,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_7(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9328,6 +9720,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_8(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9359,6 +9752,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_9(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9390,6 +9784,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_10(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9421,6 +9816,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_11(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9452,6 +9848,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_12(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9483,6 +9880,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_13(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9514,6 +9912,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9552,6 +9951,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_15(PyObject *self, Py_ssize_ int res2 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9582,6 +9982,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9613,6 +10014,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_17(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9643,6 +10045,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift__(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream___lshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -9880,6 +10283,7 @@ SWIGINTERN PyObject *_wrap_ostream_put(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9915,6 +10319,7 @@ SWIGINTERN PyObject *_wrap_ostream_write(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_write", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9946,9 +10351,9 @@ SWIGINTERN PyObject *_wrap_ostream_flush(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_flush", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9968,9 +10373,9 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_ostream< char >::pos_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_tellp", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9978,7 +10383,7 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_ostream< char > * >(argp1); result = (arg1)->tellp(); - resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(static_cast< const std::basic_ostream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -9995,6 +10400,7 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10035,6 +10441,7 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10073,6 +10480,7 @@ SWIGINTERN PyObject *_wrap_ostream_seekp(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream_seekp", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10107,6 +10515,7 @@ SWIGINTERN int _wrap_new_istream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_istream< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_istream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_istream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -10127,8 +10536,8 @@ SWIGINTERN PyObject *_wrap_delete_istream(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_istream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -10151,6 +10560,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10181,6 +10591,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10211,6 +10622,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10243,6 +10655,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_3(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10277,6 +10690,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_4(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10311,6 +10725,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_5(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10345,6 +10760,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_6(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10379,6 +10795,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_7(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10413,6 +10830,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_8(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10447,6 +10865,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_9(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10481,6 +10900,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_10(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10515,6 +10935,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_11(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10549,6 +10970,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_12(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10583,6 +11005,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_13(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10617,6 +11040,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10651,6 +11075,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_15(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10685,6 +11110,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10712,6 +11138,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift__(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream___rshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10923,9 +11350,9 @@ SWIGINTERN PyObject *_wrap_istream_gcount(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::streamsize result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_gcount", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10947,6 +11374,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = 0 ; std::basic_istream< char >::int_type result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10971,6 +11399,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11010,6 +11439,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11055,6 +11485,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11094,6 +11525,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_4(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11131,6 +11563,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_5(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11159,6 +11592,7 @@ SWIGINTERN PyObject *_wrap_istream_get(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_get", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11243,6 +11677,7 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_0(PyObject *self, Py_ssize_t no int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11288,6 +11723,7 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_1(PyObject *self, Py_ssize_t no int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11320,6 +11756,7 @@ SWIGINTERN PyObject *_wrap_istream_getline(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_getline", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -11355,6 +11792,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_0(PyObject *self, Py_ssize_t nob int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11389,6 +11827,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11415,6 +11854,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_2(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11435,6 +11875,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_ignore", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11468,9 +11909,9 @@ SWIGINTERN PyObject *_wrap_istream_peek(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_istream< char >::int_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_peek", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11500,6 +11941,7 @@ SWIGINTERN PyObject *_wrap_istream_read(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_read", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11541,6 +11983,7 @@ SWIGINTERN PyObject *_wrap_istream_readsome(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::streamsize result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_readsome", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11578,6 +12021,7 @@ SWIGINTERN PyObject *_wrap_istream_putback(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -11603,9 +12047,9 @@ SWIGINTERN PyObject *_wrap_istream_unget(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_unget", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11625,9 +12069,9 @@ SWIGINTERN PyObject *_wrap_istream_sync(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_sync", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11647,9 +12091,9 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_istream< char >::pos_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_tellg", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11657,7 +12101,7 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_istream< char > * >(argp1); result = (arg1)->tellg(); - resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(static_cast< const std::basic_istream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -11674,6 +12118,7 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11714,6 +12159,7 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11752,6 +12198,7 @@ SWIGINTERN PyObject *_wrap_istream_seekg(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_seekg", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -11786,6 +12233,7 @@ SWIGINTERN int _wrap_new_iostream(PyObject *self, PyObject *args, PyObject *kwar PyObject *swig_obj[1] ; std::basic_iostream< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_iostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_iostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -11806,8 +12254,8 @@ SWIGINTERN PyObject *_wrap_delete_iostream(PyObject *self, PyObject *args) { std::basic_iostream< char > *arg1 = (std::basic_iostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_iostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -11832,6 +12280,7 @@ SWIGINTERN PyObject *_wrap_endl(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -11858,6 +12307,7 @@ SWIGINTERN PyObject *_wrap_ends(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -11884,6 +12334,7 @@ SWIGINTERN PyObject *_wrap_flush(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -11907,8 +12358,8 @@ SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SwigPyIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -11928,9 +12379,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_value", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11963,6 +12414,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11997,6 +12449,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12025,6 +12478,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_incr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12057,6 +12511,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12091,6 +12546,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12119,6 +12575,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_decr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12152,6 +12609,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; ptrdiff_t result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12190,6 +12648,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12222,9 +12681,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_copy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12244,9 +12703,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_next", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12274,9 +12733,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12304,9 +12763,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_previous", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12340,6 +12799,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12379,6 +12839,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12415,6 +12876,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12451,6 +12913,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12490,6 +12953,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12529,6 +12993,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12569,6 +13034,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *self, Py_ssi int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12608,6 +13074,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *self, Py_ssi int res2 = 0 ; ptrdiff_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12638,6 +13105,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator___sub__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -12675,10 +13143,10 @@ SWIGINTERN PyObject *_wrap_UCharVector_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12698,9 +13166,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___nonzero__(PyObject *self, PyObject *arg std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12720,9 +13188,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___bool__(PyObject *self, PyObject *args) std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12742,9 +13210,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___len__(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12773,6 +13241,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getslice__(PyObject *self, PyObject *ar PyObject *swig_obj[3] ; std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12790,7 +13259,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getslice__(PyObject *self, PyObject *ar } arg3 = static_cast< std::vector< unsigned char >::difference_type >(val3); try { - result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12815,6 +13284,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_0(PyObject *self, Py_s ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12832,7 +13302,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_0(PyObject *self, Py_s } arg3 = static_cast< std::vector< unsigned char >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12859,6 +13329,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_1(PyObject *self, Py_s int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12887,7 +13358,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice____SWIG_1(PyObject *self, Py_s arg4 = ptr; } try { - std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg4); + std_vector_Sl_unsigned_SS_char_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12908,6 +13379,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setslice__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -12943,6 +13415,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delslice__(PyObject *self, PyObject *ar int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12960,7 +13433,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delslice__(PyObject *self, PyObject *ar } arg3 = static_cast< std::vector< unsigned char >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_char_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_char_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12982,6 +13455,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_0(PyObject *self, Py_ss ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12994,7 +13468,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_0(PyObject *self, Py_ss } arg2 = static_cast< std::vector< unsigned char >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13010,11 +13484,12 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_0(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned char,std::allocator< unsigned char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13023,9 +13498,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_0(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< unsigned char,std::allocator< unsigned char > > *)std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_0(arg1,arg2); @@ -13044,12 +13519,13 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_0(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13058,9 +13534,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_0(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; @@ -13092,10 +13568,11 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_0(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13104,9 +13581,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_1(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_1(arg1,arg2); @@ -13125,10 +13602,11 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_1(PyObject *self, Py_ss SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13137,9 +13615,9 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem____SWIG_1(PyObject *self, Py_ss arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_char_Sg____delitem____SWIG_1(arg1,arg2); @@ -13161,6 +13639,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem__(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13185,7 +13664,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___delitem__(PyObject *self, PyObject *arg SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharVector___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< unsigned char >::__delitem__(std::vector< unsigned char >::difference_type)\n" - " std::vector< unsigned char >::__delitem__(PySliceObject *)\n"); + " std::vector< unsigned char >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -13200,6 +13679,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; std::vector< unsigned char >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13212,7 +13692,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem____SWIG_1(PyObject *self, Py_ss } arg2 = static_cast< std::vector< unsigned char >::difference_type >(val2); try { - result = (std::vector< unsigned char >::value_type *) &std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_1((std::vector< unsigned char > const *)arg1,arg2); + result = (std::vector< unsigned char >::value_type *) &std_vector_Sl_unsigned_SS_char_Sg____getitem____SWIG_1((std::vector< unsigned char > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -13230,6 +13710,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem__(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13253,7 +13734,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___getitem__(PyObject *self, PyObject *arg fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharVector___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned char >::__getitem__(PySliceObject *)\n" + " std::vector< unsigned char >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< unsigned char >::__getitem__(std::vector< unsigned char >::difference_type) const\n"); return 0; } @@ -13272,6 +13753,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_2(PyObject *self, Py_ss unsigned char val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13290,7 +13772,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_2(PyObject *self, Py_ss temp3 = static_cast< std::vector< unsigned char >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_2(arg1,arg2,(unsigned char const &)*arg3); + std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned char const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -13310,6 +13792,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_3(PyObject *self, Py_ss ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13322,7 +13805,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem____SWIG_3(PyObject *self, Py_ss } arg2 = static_cast< std::vector< unsigned char >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_unsigned_SS_char_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13341,6 +13824,7 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem__(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13386,8 +13870,8 @@ SWIGINTERN PyObject *_wrap_UCharVector___setitem__(PyObject *self, PyObject *arg fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'UCharVector___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned char >::__setitem__(PySliceObject *,std::vector< unsigned char,std::allocator< unsigned char > > const &)\n" - " std::vector< unsigned char >::__setitem__(PySliceObject *)\n" + " std::vector< unsigned char >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned char,std::allocator< unsigned char > > const &)\n" + " std::vector< unsigned char >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< unsigned char >::__setitem__(std::vector< unsigned char >::difference_type,std::vector< unsigned char >::value_type const &)\n" " std::vector< unsigned char >::__setitem__(std::vector< unsigned char >::difference_type)\n"); return 0; @@ -13399,9 +13883,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_pop(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13431,6 +13915,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -13456,6 +13941,7 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_0(PyObject *self, Py_ssize_t nobjs, P PyObject *resultobj = 0; std::vector< unsigned char > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< unsigned char > *)new std::vector< unsigned char >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -13471,6 +13957,7 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int res1 = SWIG_OLDOBJ ; std::vector< unsigned char > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< unsigned char,std::allocator< unsigned char > > *ptr = (std::vector< unsigned char,std::allocator< unsigned char > > *)0; @@ -13498,9 +13985,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_empty(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13520,9 +14007,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_size(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13547,6 +14034,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -13575,9 +14063,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_begin(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13598,9 +14086,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_end(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13621,9 +14109,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_rbegin(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13644,9 +14132,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_rend(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13667,8 +14155,8 @@ SWIGINTERN PyObject *_wrap_UCharVector_clear(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13688,9 +14176,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_get_allocator(PyObject *self, PyObject *a std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< unsigned char > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13698,7 +14186,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_get_allocator(PyObject *self, PyObject *a } arg1 = reinterpret_cast< std::vector< unsigned char > * >(argp1); result = ((std::vector< unsigned char > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned char >::allocator_type(static_cast< const std::vector< unsigned char >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_char_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned char >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_char_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -13712,6 +14200,7 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_2(PyObject *self, Py_ssize_t nobjs, P int ecode1 = 0 ; std::vector< unsigned char > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -13731,8 +14220,8 @@ SWIGINTERN PyObject *_wrap_UCharVector_pop_back(PyObject *self, PyObject *args) std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13756,6 +14245,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_resize__SWIG_0(PyObject *self, Py_ssize_t size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13785,6 +14275,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< unsigned char >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13802,7 +14293,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector_erase" "', argument " "2"" of type '" "std::vector< unsigned char >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -13824,6 +14315,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< unsigned char >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13852,7 +14344,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "UCharVector_erase" "', argument " "3"" of type '" "std::vector< unsigned char >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_unsigned_SS_char_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -13867,6 +14359,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13900,6 +14393,7 @@ SWIGINTERN int _wrap_new_UCharVector__SWIG_3(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; std::vector< unsigned char > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -13926,6 +14420,7 @@ SWIGINTERN int _wrap_new_UCharVector(PyObject *self, PyObject *args, PyObject *k 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_UCharVector")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_UCharVector", 0, 2, argv))) SWIG_fail; --argc; @@ -13980,6 +14475,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_push_back(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -14006,9 +14502,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_front(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14029,9 +14525,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_back(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14061,6 +14557,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14099,6 +14596,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_resize__SWIG_1(PyObject *self, Py_ssize_t unsigned char val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14130,6 +14628,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14166,6 +14665,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_0(PyObject *self, Py_ssize_t int ecode3 = 0 ; std::vector< unsigned char >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14189,7 +14689,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_0(PyObject *self, Py_ssize_t } temp3 = static_cast< std::vector< unsigned char >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_0(arg1,arg2,(unsigned char const &)*arg3); + result = std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned char const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned char >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -14214,6 +14714,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_1(PyObject *self, Py_ssize_t unsigned char val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14242,7 +14743,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert__SWIG_1(PyObject *self, Py_ssize_t } temp4 = static_cast< std::vector< unsigned char >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_1(arg1,arg2,arg3,(unsigned char const &)*arg4); + std_vector_Sl_unsigned_SS_char_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned char const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -14256,6 +14757,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "UCharVector_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -14288,6 +14790,7 @@ SWIGINTERN PyObject *_wrap_UCharVector_reserve(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); @@ -14313,9 +14816,9 @@ SWIGINTERN PyObject *_wrap_UCharVector_capacity(PyObject *self, PyObject *args) std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned char >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "UCharVector_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14335,8 +14838,8 @@ SWIGINTERN PyObject *_wrap_delete_UCharVector(PyObject *self, PyObject *args) { std::vector< unsigned char > *arg1 = (std::vector< unsigned char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_UCharVector", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -14369,10 +14872,10 @@ SWIGINTERN PyObject *_wrap_VectorString_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14392,9 +14895,9 @@ SWIGINTERN PyObject *_wrap_VectorString___nonzero__(PyObject *self, PyObject *ar std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14414,9 +14917,9 @@ SWIGINTERN PyObject *_wrap_VectorString___bool__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14436,9 +14939,9 @@ SWIGINTERN PyObject *_wrap_VectorString___len__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14467,6 +14970,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14484,7 +14988,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14509,6 +15013,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14526,7 +15031,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14553,6 +15058,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14581,7 +15087,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); + std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::string,std::allocator< std::string > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14602,6 +15108,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -14637,6 +15144,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14654,7 +15162,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_std_string_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14676,6 +15184,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14688,7 +15197,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14704,11 +15213,12 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14717,9 +15227,9 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getitem____SWIG_0(arg1,arg2); @@ -14738,12 +15248,13 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14752,9 +15263,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -14786,10 +15297,11 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14798,9 +15310,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____setitem____SWIG_1(arg1,arg2); @@ -14819,10 +15331,11 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14831,9 +15344,9 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____delitem____SWIG_1(arg1,arg2); @@ -14855,6 +15368,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14879,7 +15393,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< std::string >::__delitem__(std::vector< std::string >::difference_type)\n" - " std::vector< std::string >::__delitem__(PySliceObject *)\n"); + " std::vector< std::string >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -14894,6 +15408,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< std::string >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14906,7 +15421,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,arg2); + result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -14924,6 +15439,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14947,7 +15463,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__getitem__(PySliceObject *)\n" + " std::vector< std::string >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::string >::__getitem__(std::vector< std::string >::difference_type) const\n"); return 0; } @@ -14964,6 +15480,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14987,7 +15504,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s arg3 = ptr; } try { - std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,arg2,(std::string const &)*arg3); + std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -15009,6 +15526,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15021,7 +15539,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15040,6 +15558,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15085,8 +15604,8 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__setitem__(PySliceObject *,std::vector< std::string,std::allocator< std::string > > const &)\n" - " std::vector< std::string >::__setitem__(PySliceObject *)\n" + " std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::string,std::allocator< std::string > > const &)\n" + " std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type,std::vector< std::string >::value_type const &)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type)\n"); return 0; @@ -15098,9 +15617,9 @@ SWIGINTERN PyObject *_wrap_VectorString_pop(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15128,6 +15647,7 @@ SWIGINTERN PyObject *_wrap_VectorString_append(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -15160,6 +15680,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< std::string > *)new std::vector< std::string >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -15175,6 +15696,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -15202,9 +15724,9 @@ SWIGINTERN PyObject *_wrap_VectorString_empty(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15224,9 +15746,9 @@ SWIGINTERN PyObject *_wrap_VectorString_size(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15251,6 +15773,7 @@ SWIGINTERN PyObject *_wrap_VectorString_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -15279,9 +15802,9 @@ SWIGINTERN PyObject *_wrap_VectorString_begin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15302,9 +15825,9 @@ SWIGINTERN PyObject *_wrap_VectorString_end(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15325,9 +15848,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rbegin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15348,9 +15871,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rend(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15371,8 +15894,8 @@ SWIGINTERN PyObject *_wrap_VectorString_clear(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15392,9 +15915,9 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::string > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15402,7 +15925,7 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * } arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); result = ((std::vector< std::string > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -15416,6 +15939,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -15435,8 +15959,8 @@ SWIGINTERN PyObject *_wrap_VectorString_pop_back(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15460,6 +15984,7 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15489,6 +16014,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< std::string >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15506,7 +16032,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15528,6 +16054,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< std::string >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15556,7 +16083,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15571,6 +16098,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15602,6 +16130,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_3(PyObject *self, Py_ssize_t nobjs, int res2 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -15635,6 +16164,7 @@ SWIGINTERN int _wrap_new_VectorString(PyObject *self, PyObject *args, PyObject * 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorString")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorString", 0, 2, argv))) SWIG_fail; --argc; @@ -15687,6 +16217,7 @@ SWIGINTERN PyObject *_wrap_VectorString_push_back(PyObject *self, PyObject *args int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -15720,9 +16251,9 @@ SWIGINTERN PyObject *_wrap_VectorString_front(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15743,9 +16274,9 @@ SWIGINTERN PyObject *_wrap_VectorString_back(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15773,6 +16304,7 @@ SWIGINTERN PyObject *_wrap_VectorString_assign(PyObject *self, PyObject *args) { int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15816,6 +16348,7 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15854,6 +16387,7 @@ SWIGINTERN PyObject *_wrap_VectorString_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15888,6 +16422,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ int res3 = SWIG_OLDOBJ ; std::vector< std::string >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15916,7 +16451,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ } arg3 = ptr; } - result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,arg2,(std::string const &)*arg3); + result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -15941,6 +16476,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15974,7 +16510,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ } arg4 = ptr; } - std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::string const &)*arg4); + std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::string const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -15990,6 +16526,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16022,6 +16559,7 @@ SWIGINTERN PyObject *_wrap_VectorString_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -16047,9 +16585,9 @@ SWIGINTERN PyObject *_wrap_VectorString_capacity(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16069,8 +16607,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorString(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorString", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -16103,10 +16641,10 @@ SWIGINTERN PyObject *_wrap_VectorInt_iterator(PyObject *self, PyObject *args) { PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16126,9 +16664,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___nonzero__(PyObject *self, PyObject *args) std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16148,9 +16686,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___bool__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16170,9 +16708,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___len__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16201,6 +16739,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args PyObject *swig_obj[3] ; std::vector< int,std::allocator< int > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16218,7 +16757,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16243,6 +16782,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16260,7 +16800,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16287,6 +16827,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16315,7 +16856,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi arg4 = ptr; } try { - std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); + std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< int,std::allocator< int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16336,6 +16877,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice__(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16371,6 +16913,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16388,7 +16931,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16410,6 +16953,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16422,7 +16966,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16438,11 +16982,12 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int,std::allocator< int > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16451,9 +16996,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -16472,12 +17017,13 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< int,std::allocator< int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16486,9 +17032,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -16520,10 +17066,11 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16532,9 +17079,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -16553,10 +17100,11 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16565,9 +17113,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -16589,6 +17137,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16613,7 +17162,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< int >::__delitem__(std::vector< int >::difference_type)\n" - " std::vector< int >::__delitem__(PySliceObject *)\n"); + " std::vector< int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -16628,6 +17177,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz int ecode2 = 0 ; std::vector< int >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16640,7 +17190,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,arg2); + result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -16658,6 +17208,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16681,7 +17232,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__getitem__(PySliceObject *)\n" + " std::vector< int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n"); return 0; } @@ -16700,6 +17251,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16718,7 +17270,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,arg2,(int const &)*arg3); + std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -16738,6 +17290,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16750,7 +17303,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16769,6 +17322,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16814,8 +17368,8 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__setitem__(PySliceObject *,std::vector< int,std::allocator< int > > const &)\n" - " std::vector< int >::__setitem__(PySliceObject *)\n" + " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< int,std::allocator< int > > const &)\n" + " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type)\n"); return 0; @@ -16827,9 +17381,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16859,6 +17413,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -16884,6 +17439,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO PyObject *resultobj = 0; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< int > *)new std::vector< int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -16899,6 +17455,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res1 = SWIG_OLDOBJ ; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -16926,9 +17483,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_empty(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16948,9 +17505,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_size(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16975,6 +17532,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -17003,9 +17561,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_begin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17026,9 +17584,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_end(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17049,9 +17607,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rbegin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17072,9 +17630,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rend(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17095,8 +17653,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_clear(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17116,9 +17674,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< int > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17126,7 +17684,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg } arg1 = reinterpret_cast< std::vector< int > * >(argp1); result = ((std::vector< int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -17140,6 +17698,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int ecode1 = 0 ; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17159,8 +17718,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17184,6 +17743,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_0(PyObject *self, Py_ssize_t n size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17213,6 +17773,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no int res2 ; std::vector< int >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17230,7 +17791,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17252,6 +17813,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no int res3 ; std::vector< int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17280,7 +17842,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17295,6 +17857,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17328,6 +17891,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17354,6 +17918,7 @@ SWIGINTERN int _wrap_new_VectorInt(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorInt")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt", 0, 2, argv))) SWIG_fail; --argc; @@ -17408,6 +17973,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_push_back(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -17434,9 +18000,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_front(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17457,9 +18023,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17489,6 +18055,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17527,6 +18094,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_1(PyObject *self, Py_ssize_t n int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17558,6 +18126,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17594,6 +18163,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n int ecode3 = 0 ; std::vector< int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17617,7 +18187,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n } temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,arg2,(int const &)*arg3); + result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17642,6 +18212,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n int val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17670,7 +18241,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n } temp4 = static_cast< std::vector< int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(int const &)*arg4); + std_vector_Sl_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -17684,6 +18255,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -17716,6 +18288,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_reserve(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -17741,9 +18314,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_capacity(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17763,8 +18336,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorInt(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorInt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -17797,10 +18370,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_iterator(PyObject *self, PyObject *arg PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17820,9 +18393,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___nonzero__(PyObject *self, PyObject * std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17842,9 +18415,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___bool__(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17864,9 +18437,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___len__(PyObject *self, PyObject *args std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17895,6 +18468,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17912,7 +18486,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -17937,6 +18511,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17954,7 +18529,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -17981,6 +18556,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18009,7 +18585,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P arg4 = ptr; } try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18030,6 +18606,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -18065,6 +18642,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18082,7 +18660,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18104,6 +18682,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18116,7 +18695,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18132,11 +18711,12 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18145,9 +18725,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -18166,12 +18746,13 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18180,9 +18761,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -18214,10 +18795,11 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18226,9 +18808,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -18247,10 +18829,11 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18259,9 +18842,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -18283,6 +18866,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18307,7 +18891,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< unsigned int >::__delitem__(std::vector< unsigned int >::difference_type)\n" - " std::vector< unsigned int >::__delitem__(PySliceObject *)\n"); + " std::vector< unsigned int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -18322,6 +18906,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py int ecode2 = 0 ; std::vector< unsigned int >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18334,7 +18919,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,arg2); + result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18352,6 +18937,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18375,7 +18961,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__getitem__(PySliceObject *)\n" + " std::vector< unsigned int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< unsigned int >::__getitem__(std::vector< unsigned int >::difference_type) const\n"); return 0; } @@ -18394,6 +18980,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18412,7 +18999,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,arg2,(unsigned int const &)*arg3); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18432,6 +19019,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18444,7 +19032,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18463,6 +19051,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18508,8 +19097,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__setitem__(PySliceObject *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" - " std::vector< unsigned int >::__setitem__(PySliceObject *)\n" + " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" + " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::value_type const &)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type)\n"); return 0; @@ -18521,9 +19110,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18553,6 +19142,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -18578,6 +19168,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_0(PyObject *self, Py_ssize_t nobjs PyObject *resultobj = 0; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< unsigned int > *)new std::vector< unsigned int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -18593,6 +19184,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_1(PyObject *self, Py_ssize_t nobjs int res1 = SWIG_OLDOBJ ; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -18620,9 +19212,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_empty(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18642,9 +19234,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_size(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18669,6 +19261,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -18697,9 +19290,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_begin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18720,9 +19313,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_end(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18743,9 +19336,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rbegin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18766,9 +19359,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rend(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18789,8 +19382,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_clear(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18810,9 +19403,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< unsigned int > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18820,7 +19413,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); result = ((std::vector< unsigned int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(static_cast< const std::vector< unsigned int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -18834,6 +19427,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_2(PyObject *self, Py_ssize_t nobjs int ecode1 = 0 ; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -18853,8 +19447,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop_back(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18878,6 +19472,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_0(PyObject *self, Py_ssiz size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18907,6 +19502,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize int res2 ; std::vector< unsigned int >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18924,7 +19520,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -18946,6 +19542,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize int res3 ; std::vector< unsigned int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18974,7 +19571,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "3"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -18989,6 +19586,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19022,6 +19620,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_3(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -19048,6 +19647,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned(PyObject *self, PyObject *args, PyObject 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUnsigned")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUnsigned", 0, 2, argv))) SWIG_fail; --argc; @@ -19102,6 +19702,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_push_back(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -19128,9 +19729,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_front(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19151,9 +19752,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_back(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19183,6 +19784,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19221,6 +19823,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_1(PyObject *self, Py_ssiz unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19252,6 +19855,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19288,6 +19892,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz int ecode3 = 0 ; std::vector< unsigned int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19311,7 +19916,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz } temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,arg2,(unsigned int const &)*arg3); + result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19336,6 +19941,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz unsigned int val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19364,7 +19970,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz } temp4 = static_cast< std::vector< unsigned int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(unsigned int const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -19378,6 +19984,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -19410,6 +20017,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_reserve(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -19435,9 +20043,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_capacity(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19457,8 +20065,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUnsigned(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUnsigned", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -19491,10 +20099,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19514,9 +20122,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___nonzero__(PyObject *self, PyObject *ar std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19536,9 +20144,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___bool__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19558,9 +20166,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___len__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19589,6 +20197,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< double,std::allocator< double > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19606,7 +20215,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19631,6 +20240,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19648,7 +20258,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19675,6 +20285,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19703,7 +20314,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); + std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< double,std::allocator< double > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19724,6 +20335,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -19759,6 +20371,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19776,7 +20389,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_double_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19798,6 +20411,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19810,7 +20424,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19826,11 +20440,12 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double,std::allocator< double > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19839,9 +20454,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2); @@ -19860,12 +20475,13 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< double,std::allocator< double > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19874,9 +20490,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -19908,10 +20524,11 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19920,9 +20537,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2); @@ -19941,10 +20558,11 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19953,9 +20571,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2); @@ -19977,6 +20595,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20001,7 +20620,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< double >::__delitem__(std::vector< double >::difference_type)\n" - " std::vector< double >::__delitem__(PySliceObject *)\n"); + " std::vector< double >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -20016,6 +20635,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< double >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20028,7 +20648,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,arg2); + result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -20046,6 +20666,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20069,7 +20690,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__getitem__(PySliceObject *)\n" + " std::vector< double >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n"); return 0; } @@ -20088,6 +20709,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s double val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20106,7 +20728,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3); + std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -20126,6 +20748,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20138,7 +20761,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20157,6 +20780,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20202,8 +20826,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__setitem__(PySliceObject *,std::vector< double,std::allocator< double > > const &)\n" - " std::vector< double >::__setitem__(PySliceObject *)\n" + " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< double,std::allocator< double > > const &)\n" + " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type)\n"); return 0; @@ -20215,9 +20839,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20247,6 +20871,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -20272,6 +20897,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< double > *)new std::vector< double >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -20287,6 +20913,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -20314,9 +20941,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_empty(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20336,9 +20963,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_size(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20363,6 +20990,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -20391,9 +21019,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_begin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20414,9 +21042,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_end(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20437,9 +21065,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rbegin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20460,9 +21088,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rend(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20483,8 +21111,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_clear(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20504,9 +21132,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< double > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20514,7 +21142,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * } arg1 = reinterpret_cast< std::vector< double > * >(argp1); result = ((std::vector< double > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -20528,6 +21156,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -20547,8 +21176,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop_back(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20572,6 +21201,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20601,6 +21231,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< double >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20618,7 +21249,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -20640,6 +21271,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< double >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20668,7 +21300,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -20683,6 +21315,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20716,6 +21349,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -20742,6 +21376,7 @@ SWIGINTERN int _wrap_new_VectorDouble(PyObject *self, PyObject *args, PyObject * 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorDouble")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorDouble", 0, 2, argv))) SWIG_fail; --argc; @@ -20796,6 +21431,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_push_back(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -20822,9 +21458,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_front(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20845,9 +21481,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_back(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20877,6 +21513,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20915,6 +21552,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_1(PyObject *self, Py_ssize_ double val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20946,6 +21584,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20982,6 +21621,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ int ecode3 = 0 ; std::vector< double >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21005,7 +21645,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ } temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,arg2,(double const &)*arg3); + result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21030,6 +21670,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ double val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21058,7 +21699,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ } temp4 = static_cast< std::vector< double >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_double_Sg__insert__SWIG_1(arg1,arg2,arg3,(double const &)*arg4); + std_vector_Sl_double_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(double const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -21072,6 +21713,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -21104,6 +21746,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -21129,9 +21772,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_capacity(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21151,8 +21794,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorDouble(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorDouble", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -21185,10 +21828,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_iterator(PyObject *self, PyObject *args PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21208,9 +21851,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___nonzero__(PyObject *self, PyObject *a std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21230,9 +21873,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___bool__(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21252,9 +21895,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___len__(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21283,6 +21926,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * PyObject *swig_obj[3] ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21300,7 +21944,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21325,6 +21969,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21342,7 +21987,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21369,6 +22014,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21397,7 +22043,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py arg4 = ptr; } try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21418,6 +22064,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -21453,6 +22100,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21470,7 +22118,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_uint64_t_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21492,6 +22140,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21504,7 +22153,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21520,11 +22169,12 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21533,9 +22183,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(arg1,arg2); @@ -21554,12 +22204,13 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21568,9 +22219,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -21602,10 +22253,11 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21614,9 +22266,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(arg1,arg2); @@ -21635,10 +22287,11 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21647,9 +22300,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(arg1,arg2); @@ -21671,6 +22324,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21695,7 +22349,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< uint64_t >::__delitem__(std::vector< uint64_t >::difference_type)\n" - " std::vector< uint64_t >::__delitem__(PySliceObject *)\n"); + " std::vector< uint64_t >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -21710,6 +22364,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ int ecode2 = 0 ; std::vector< uint64_t >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21722,7 +22377,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,arg2); + result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -21740,6 +22395,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21763,7 +22419,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__getitem__(PySliceObject *)\n" + " std::vector< uint64_t >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< uint64_t >::__getitem__(std::vector< uint64_t >::difference_type) const\n"); return 0; } @@ -21782,6 +22438,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ uint64_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21800,7 +22457,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,arg2,(uint64_t const &)*arg3); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -21820,6 +22477,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21832,7 +22490,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21851,6 +22509,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21896,8 +22555,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__setitem__(PySliceObject *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" - " std::vector< uint64_t >::__setitem__(PySliceObject *)\n" + " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" + " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type,std::vector< uint64_t >::value_type const &)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type)\n"); return 0; @@ -21909,9 +22568,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21941,6 +22600,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -21966,6 +22626,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< uint64_t > *)new std::vector< uint64_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -21981,6 +22642,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -22008,9 +22670,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_empty(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22030,9 +22692,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_size(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22057,6 +22719,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -22085,9 +22748,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_begin(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22108,9 +22771,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_end(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22131,9 +22794,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rbegin(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22154,9 +22817,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rend(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22177,8 +22840,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_clear(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22198,9 +22861,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< uint64_t > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22208,7 +22871,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); result = ((std::vector< uint64_t > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(static_cast< const std::vector< uint64_t >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -22222,6 +22885,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22241,8 +22905,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop_back(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22266,6 +22930,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_0(PyObject *self, Py_ssize size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22295,6 +22960,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ int res2 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22312,7 +22978,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "2"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22334,6 +23000,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ int res3 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22362,7 +23029,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "3"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22377,6 +23044,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22410,6 +23078,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22436,6 +23105,7 @@ SWIGINTERN int _wrap_new_VectorUint64t(PyObject *self, PyObject *args, PyObject 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUint64t")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint64t", 0, 2, argv))) SWIG_fail; --argc; @@ -22490,6 +23160,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_push_back(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -22516,9 +23187,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_front(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22539,9 +23210,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_back(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22571,6 +23242,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22609,6 +23281,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_1(PyObject *self, Py_ssize uint64_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22640,6 +23313,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22676,6 +23350,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize int ecode3 = 0 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22699,7 +23374,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize } temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,arg2,(uint64_t const &)*arg3); + result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22724,6 +23399,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize uint64_t val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22752,7 +23428,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize } temp4 = static_cast< std::vector< uint64_t >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,arg2,arg3,(uint64_t const &)*arg4); + std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(uint64_t const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -22766,6 +23442,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -22798,6 +23475,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -22823,9 +23501,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_capacity(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22845,8 +23523,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUint64t(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUint64t", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -22879,10 +23557,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *ar PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22902,9 +23580,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22924,9 +23602,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *ar std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22946,9 +23624,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *arg std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22977,6 +23655,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22994,7 +23673,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); try { - result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)std_vector_Sl_btllib_Minimizer_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)std_vector_Sl_btllib_Minimizer_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23019,6 +23698,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23036,7 +23716,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23063,6 +23743,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23091,7 +23772,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)*arg4); + std_vector_Sl_btllib_Minimizer_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23112,6 +23793,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -23147,6 +23829,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23164,7 +23847,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Minimizer_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_btllib_Minimizer_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23186,6 +23869,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23198,7 +23882,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23214,11 +23898,12 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23227,9 +23912,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_0(arg1,arg2); @@ -23248,12 +23933,13 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23262,9 +23948,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; @@ -23296,10 +23982,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23308,9 +23995,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_1(arg1,arg2); @@ -23329,10 +24016,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23341,9 +24029,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_Minimizer_Sg____delitem____SWIG_1(arg1,arg2); @@ -23365,6 +24053,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23389,7 +24078,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::Minimizer >::__delitem__(std::vector< btllib::Minimizer >::difference_type)\n" - " std::vector< btllib::Minimizer >::__delitem__(PySliceObject *)\n"); + " std::vector< btllib::Minimizer >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -23404,6 +24093,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, P int ecode2 = 0 ; std::vector< btllib::Minimizer >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23416,7 +24106,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); try { - result = (std::vector< btllib::Minimizer >::value_type *) &std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Minimizer > const *)arg1,arg2); + result = (std::vector< btllib::Minimizer >::value_type *) &std_vector_Sl_btllib_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Minimizer > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -23434,6 +24124,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23457,7 +24148,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Minimizer >::__getitem__(PySliceObject *)\n" + " std::vector< btllib::Minimizer >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::Minimizer >::__getitem__(std::vector< btllib::Minimizer >::difference_type) const\n"); return 0; } @@ -23475,6 +24166,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P void *argp3 = 0 ; int res3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23495,7 +24187,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P } arg3 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp3); try { - std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_2(arg1,arg2,(btllib::Minimizer const &)*arg3); + std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(btllib::Minimizer const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -23515,6 +24207,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, P ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23527,7 +24220,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_btllib_Minimizer_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23546,6 +24239,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23591,8 +24285,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Minimizer >::__setitem__(PySliceObject *,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)\n" - " std::vector< btllib::Minimizer >::__setitem__(PySliceObject *)\n" + " std::vector< btllib::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > const &)\n" + " std::vector< btllib::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::Minimizer >::__setitem__(std::vector< btllib::Minimizer >::difference_type,std::vector< btllib::Minimizer >::value_type const &)\n" " std::vector< btllib::Minimizer >::__setitem__(std::vector< btllib::Minimizer >::difference_type)\n"); return 0; @@ -23604,9 +24298,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23618,7 +24312,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Minimizer >::value_type(static_cast< const std::vector< btllib::Minimizer >::value_type& >(result))), SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Minimizer >::value_type(result)), SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23635,6 +24329,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); @@ -23662,6 +24357,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; std::vector< btllib::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::Minimizer > *)new std::vector< btllib::Minimizer >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -23677,6 +24373,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; std::vector< btllib::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; @@ -23704,9 +24401,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23726,9 +24423,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23753,6 +24450,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); @@ -23781,9 +24479,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23804,9 +24502,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23827,9 +24525,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23850,9 +24548,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23873,8 +24571,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23894,9 +24592,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< btllib::Minimizer > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23904,7 +24602,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec } arg1 = reinterpret_cast< std::vector< btllib::Minimizer > * >(argp1); result = ((std::vector< btllib::Minimizer > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Minimizer >::allocator_type(static_cast< const std::vector< btllib::Minimizer >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_btllib__Minimizer_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Minimizer >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_btllib__Minimizer_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23918,6 +24616,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobj int ecode1 = 0 ; std::vector< btllib::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -23937,8 +24636,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *ar std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23962,6 +24661,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssi size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23991,6 +24691,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz int res2 ; std::vector< btllib::Minimizer >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24008,7 +24709,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -24030,6 +24731,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssiz int res3 ; std::vector< btllib::Minimizer >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24058,7 +24760,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_btllib_Minimizer_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -24073,6 +24775,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24105,6 +24808,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_3(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::vector< btllib::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -24133,6 +24837,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorMinimizer")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorMinimizer", 0, 2, argv))) SWIG_fail; --argc; @@ -24186,6 +24891,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *a int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); @@ -24214,9 +24920,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24237,9 +24943,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24268,6 +24974,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args int res3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24307,6 +25014,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssi void *argp3 = 0 ; int res3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24340,6 +25048,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24375,6 +25084,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi int res3 = 0 ; std::vector< btllib::Minimizer >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24400,7 +25110,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } arg3 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp3); - result = std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_0(arg1,arg2,(btllib::Minimizer const &)*arg3); + result = std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(btllib::Minimizer const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -24424,6 +25134,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi void *argp4 = 0 ; int res4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24454,7 +25165,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Minimizer >::value_type const &""'"); } arg4 = reinterpret_cast< std::vector< btllib::Minimizer >::value_type * >(argp4); - std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_1(arg1,arg2,arg3,(btllib::Minimizer const &)*arg4); + std_vector_Sl_btllib_Minimizer_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(btllib::Minimizer const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -24468,6 +25179,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -24500,6 +25212,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); @@ -24525,9 +25238,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *ar std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24547,8 +25260,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorMinimizer(PyObject *self, PyObject *args std::vector< btllib::Minimizer > *arg1 = (std::vector< btllib::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorMinimizer", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -24581,10 +25294,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_iterator(PyObject *self, PyObject *a PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24604,9 +25317,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___nonzero__(PyObject *self, PyObject std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24626,9 +25339,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___bool__(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24648,9 +25361,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___len__(PyObject *self, PyObject *ar std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24679,6 +25392,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec PyObject *swig_obj[3] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24696,7 +25410,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24721,6 +25435,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24738,7 +25453,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24765,6 +25480,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24793,7 +25509,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24814,6 +25530,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice__(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -24849,6 +25566,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24866,7 +25584,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24888,6 +25606,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24900,7 +25619,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24916,11 +25635,12 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24929,9 +25649,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(arg1,arg2); @@ -24950,12 +25670,13 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24964,9 +25685,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -24998,10 +25719,11 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25010,9 +25732,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(arg1,arg2); @@ -25031,10 +25753,11 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25043,9 +25766,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(arg1,arg2); @@ -25067,6 +25790,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25091,7 +25815,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::SpacedSeed >::__delitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n" - " std::vector< btllib::SpacedSeed >::__delitem__(PySliceObject *)\n"); + " std::vector< btllib::SpacedSeed >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -25106,6 +25830,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, int ecode2 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25118,7 +25843,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,arg2); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -25136,6 +25861,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25159,7 +25885,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__getitem__(PySliceObject *)\n" + " std::vector< btllib::SpacedSeed >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::SpacedSeed >::__getitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type) const\n"); return 0; } @@ -25176,6 +25902,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25199,7 +25926,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, arg3 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -25221,6 +25948,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25233,7 +25961,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -25252,6 +25980,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25297,8 +26026,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" - " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type const &)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n"); return 0; @@ -25310,9 +26039,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25340,6 +26069,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_append(PyObject *self, PyObject *arg int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -25372,6 +26102,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_0(PyObject *self, Py_ssize_t nob PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::SpacedSeed > *)new std::vector< btllib::SpacedSeed >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -25387,6 +26118,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_1(PyObject *self, Py_ssize_t nob int res1 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -25414,9 +26146,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_empty(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25436,9 +26168,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_size(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25463,6 +26195,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -25491,9 +26224,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_begin(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25514,9 +26247,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_end(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25537,9 +26270,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rbegin(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25560,9 +26293,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rend(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25583,8 +26316,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_clear(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25604,9 +26337,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25614,7 +26347,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje } arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); result = ((std::vector< btllib::SpacedSeed > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -25628,6 +26361,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_2(PyObject *self, Py_ssize_t nob int ecode1 = 0 ; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -25647,8 +26381,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop_back(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25672,6 +26406,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_0(PyObject *self, Py_ss size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25701,6 +26436,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi int res2 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25718,7 +26454,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -25740,6 +26476,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi int res3 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25768,7 +26505,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "3"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -25783,6 +26520,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -25814,6 +26552,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_3(PyObject *self, Py_ssize_t nob int res2 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -25847,6 +26586,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed(PyObject *self, PyObject *args, PyObje 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorSpacedSeed")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorSpacedSeed", 0, 2, argv))) SWIG_fail; --argc; @@ -25899,6 +26639,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_push_back(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -25932,9 +26673,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_front(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25955,9 +26696,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_back(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25985,6 +26726,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_assign(PyObject *self, PyObject *arg int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26028,6 +26770,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26066,6 +26809,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26100,6 +26844,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss int res3 = SWIG_OLDOBJ ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26128,7 +26873,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss } arg3 = ptr; } - result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -26153,6 +26898,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26186,7 +26932,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss } arg4 = ptr; } - std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -26202,6 +26948,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -26234,6 +26981,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_reserve(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -26259,9 +27007,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_capacity(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26281,8 +27029,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorSpacedSeed(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorSpacedSeed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -26313,6 +27061,7 @@ SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO PyObject *resultobj = 0; btllib::Minimizer *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::Minimizer *)new btllib::Minimizer(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Minimizer, SWIG_BUILTIN_INIT | 0 ); @@ -26339,6 +27088,7 @@ SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int ecode4 = 0 ; btllib::Minimizer *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26395,6 +27145,7 @@ SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int ecode4 = 0 ; btllib::Minimizer *result = 0 ; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26448,6 +27199,7 @@ SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; --argc; @@ -26487,6 +27239,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); @@ -26512,9 +27265,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26539,6 +27292,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); @@ -26564,9 +27318,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26591,6 +27345,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); @@ -26616,9 +27371,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26643,6 +27398,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); @@ -26668,9 +27424,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26694,6 +27450,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); @@ -26727,9 +27484,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26753,6 +27510,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); @@ -26786,9 +27544,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26808,8 +27566,8 @@ SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { btllib::Minimizer *arg1 = (btllib::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Minimizer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -26830,6 +27588,7 @@ SWIGINTERN int _wrap_new_Record__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje PyObject *resultobj = 0; btllib::Record *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::Record *)new btllib::Record(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Record, SWIG_BUILTIN_INIT | 0 ); @@ -26852,6 +27611,7 @@ SWIGINTERN int _wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje int ecode4 = 0 ; btllib::Record *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26904,6 +27664,7 @@ SWIGINTERN int _wrap_new_Record(PyObject *self, PyObject *args, PyObject *kwargs 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Record")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_Record", 0, 5, argv))) SWIG_fail; --argc; @@ -26937,6 +27698,7 @@ SWIGINTERN PyObject *_wrap_Record_num_set(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); @@ -26962,9 +27724,9 @@ SWIGINTERN PyObject *_wrap_Record_num_get(PyObject *self, PyObject *args) { btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Record_num_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26988,6 +27750,7 @@ SWIGINTERN PyObject *_wrap_Record_id_set(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); @@ -27021,9 +27784,9 @@ SWIGINTERN PyObject *_wrap_Record_id_get(PyObject *self, PyObject *args) { btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Record_id_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27047,6 +27810,7 @@ SWIGINTERN PyObject *_wrap_Record_barcode_set(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); @@ -27080,9 +27844,9 @@ SWIGINTERN PyObject *_wrap_Record_barcode_get(PyObject *self, PyObject *args) { btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Record_barcode_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27107,6 +27871,7 @@ SWIGINTERN PyObject *_wrap_Record_readlen_set(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); @@ -27132,9 +27897,9 @@ SWIGINTERN PyObject *_wrap_Record_readlen_get(PyObject *self, PyObject *args) { btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Record_readlen_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27159,6 +27924,7 @@ SWIGINTERN PyObject *_wrap_Record_minimizers_set(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); @@ -27184,9 +27950,9 @@ SWIGINTERN PyObject *_wrap_Record_minimizers_get(PyObject *self, PyObject *args) btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Record_minimizers_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27212,9 +27978,9 @@ SWIGINTERN PyObject *_wrap_Record___nonzero__(PyObject *self, PyObject *args) { btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Record___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27236,8 +28002,8 @@ SWIGINTERN PyObject *_wrap_delete_Record(PyObject *self, PyObject *args) { btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Record", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -27372,6 +28138,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, P PyObject *resultobj = 0; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::BloomFilter *)new btllib::BloomFilter(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); @@ -27392,6 +28159,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -27430,6 +28198,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -27455,6 +28224,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, P int res1 = SWIG_OLDOBJ ; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -27483,6 +28253,7 @@ SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *k 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; --argc; @@ -27527,6 +28298,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27554,6 +28326,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27587,6 +28360,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -27626,6 +28400,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27654,6 +28429,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27687,6 +28463,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -27726,6 +28503,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, P int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27754,6 +28532,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, P int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27787,6 +28566,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -27821,9 +28601,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27843,9 +28623,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *arg btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27865,9 +28645,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *a btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27887,9 +28667,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *ar btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27909,9 +28689,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27931,9 +28711,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *arg btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27957,6 +28737,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); @@ -27992,6 +28773,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *a PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -28024,6 +28806,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyOb PyObject *swig_obj[2] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -28064,8 +28847,8 @@ SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -28086,6 +28869,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; btllib::KmerBloomFilter *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); @@ -28108,6 +28892,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; btllib::KmerBloomFilter *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -28138,6 +28923,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; btllib::KmerBloomFilter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -28166,6 +28952,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; --argc; @@ -28208,6 +28995,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28242,6 +29030,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28278,6 +29067,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28305,6 +29095,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28338,6 +29129,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -28399,6 +29191,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_s int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28434,6 +29227,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28471,6 +29265,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_s int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28499,6 +29294,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28532,6 +29328,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -28593,6 +29390,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *sel int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28628,6 +29426,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *sel int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28665,6 +29464,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *sel int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28693,6 +29493,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *sel int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28726,6 +29527,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -28778,9 +29580,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *a btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28800,9 +29602,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28822,9 +29624,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObjec btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28844,9 +29646,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28866,9 +29668,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *arg btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28888,9 +29690,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28910,9 +29712,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28932,9 +29734,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyOb btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::BloomFilter *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28958,6 +29760,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); @@ -28993,6 +29796,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObjec PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -29021,8 +29825,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -29043,6 +29847,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; btllib::SeedBloomFilter *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); @@ -29067,6 +29872,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode4 = 0 ; btllib::SeedBloomFilter *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -29110,6 +29916,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; btllib::SeedBloomFilter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -29138,6 +29945,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; --argc; @@ -29180,6 +29988,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29214,6 +30023,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29250,6 +30060,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29277,6 +30088,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29310,6 +30122,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -29371,6 +30184,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_s int ecode3 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29406,6 +30220,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29443,6 +30258,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_s int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29471,6 +30287,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29504,6 +30321,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -29565,6 +30383,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *sel int ecode3 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29600,6 +30419,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *sel int res2 = SWIG_OLDOBJ ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29637,6 +30457,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *sel int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29665,6 +30486,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *sel int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29698,6 +30520,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -29750,9 +30573,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *a btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29772,9 +30595,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29794,9 +30617,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObjec btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29816,9 +30639,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, Py btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29838,9 +30661,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *arg btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29860,9 +30683,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29882,9 +30705,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *a btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29904,9 +30727,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyOb btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29926,9 +30749,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29948,9 +30771,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29970,9 +30793,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29992,9 +30815,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::KmerBloomFilter *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30018,6 +30841,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); @@ -30053,6 +30877,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObjec PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -30081,8 +30906,8 @@ SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30143,6 +30968,7 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int ecode3 = 0 ; btllib::SeqReader *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30184,6 +31010,7 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; btllib::SeqReader *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30217,6 +31044,7 @@ SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; --argc; @@ -30245,8 +31073,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30266,8 +31094,8 @@ SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30287,9 +31115,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30309,9 +31137,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30331,9 +31159,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30353,9 +31181,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30375,9 +31203,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader::Format result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30397,9 +31225,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30407,7 +31235,7 @@ SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -30419,9 +31247,9 @@ SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< btllib::SeqReader::RecordIterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30429,7 +31257,7 @@ SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(static_cast< const btllib::SeqReader::RecordIterator& >(result))), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(result)), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -30441,9 +31269,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *a btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30463,9 +31291,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *ar btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30485,9 +31313,9 @@ SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30512,6 +31340,7 @@ SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30537,6 +31366,7 @@ SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject PyObject *resultobj = 0; btllib::SeqReader::Flag *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); @@ -30552,8 +31382,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30580,6 +31410,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -30605,9 +31436,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *arg btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30631,6 +31462,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -30664,9 +31496,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30690,6 +31522,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -30723,9 +31556,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30749,6 +31582,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *arg int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -30782,9 +31616,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *arg btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30808,6 +31642,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *ar int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -30841,9 +31676,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *ar btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30863,9 +31698,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30886,6 +31721,7 @@ SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObjec PyObject *resultobj = 0; btllib::SeqReader::Record *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); @@ -30901,8 +31737,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30926,9 +31762,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyOb btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30942,7 +31778,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyOb SWIG_fail; } } - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -30954,8 +31790,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObje btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30983,6 +31819,7 @@ SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::vector< std::string,std::allocator< std::string > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31027,6 +31864,7 @@ SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::string result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -31068,6 +31906,7 @@ SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { @@ -31091,6 +31930,7 @@ SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { @@ -31114,6 +31954,7 @@ SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -31149,6 +31990,7 @@ SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { @@ -31172,6 +32014,7 @@ SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { @@ -31195,6 +32038,7 @@ SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -31230,6 +32074,7 @@ SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { @@ -31253,6 +32098,7 @@ SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { @@ -31276,6 +32122,7 @@ SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -31312,6 +32159,7 @@ SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31331,7 +32179,7 @@ SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (bool)btllib::startswith(arg1,arg2); + result = (bool)btllib::startswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -31346,6 +32194,7 @@ SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31365,7 +32214,7 @@ SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (bool)btllib::endswith(arg1,arg2); + result = (bool)btllib::endswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -31380,6 +32229,7 @@ SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -31410,6 +32260,7 @@ SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -31445,6 +32296,7 @@ SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_0(PyObject *self, Py_ssize_t nob int ecode3 = 0 ; double result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31467,7 +32319,7 @@ SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_0(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "calc_phred_avg" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2,arg3); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_From_double(static_cast< double >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -31486,6 +32338,7 @@ SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31503,7 +32356,7 @@ SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_1(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "calc_phred_avg" "', argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); - result = (double)btllib::calc_phred_avg((std::string const &)*arg1,arg2); + result = (double)btllib::calc_phred_avg((std::string const &)*arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_From_double(static_cast< double >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -31519,6 +32372,7 @@ SWIGINTERN PyObject *_wrap_calc_phred_avg__SWIG_2(PyObject *self, Py_ssize_t nob int res1 = SWIG_OLDOBJ ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31547,6 +32401,7 @@ SWIGINTERN PyObject *_wrap_calc_phred_avg(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "calc_phred_avg", 0, 3, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -31583,6 +32438,7 @@ SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; btllib::Barrier *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); @@ -31603,8 +32459,8 @@ SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -31624,8 +32480,8 @@ SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -31654,6 +32510,7 @@ SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int ecode3 = 0 ; btllib::SeqWriter *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31695,6 +32552,7 @@ SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; btllib::SeqWriter *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31728,6 +32586,7 @@ SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int res1 = SWIG_OLDOBJ ; btllib::SeqWriter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -31756,6 +32615,7 @@ SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; --argc; @@ -31790,8 +32650,8 @@ SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -31820,6 +32680,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t no int res4 = SWIG_OLDOBJ ; int res5 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -31898,6 +32759,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t no int res3 = SWIG_OLDOBJ ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -31957,6 +32819,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; argv[0] = self; if (argc == 4) { @@ -31984,9 +32847,9 @@ SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqWriter *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -32011,6 +32874,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -32033,8 +32897,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -32124,6 +32988,7 @@ SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); @@ -32149,6 +33014,7 @@ SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args PyObject *swig_obj[1] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -32611,6 +33477,7 @@ SWIGINTERN PyObject *_wrap_srol__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje int ecode1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32635,6 +33502,7 @@ SWIGINTERN PyObject *_wrap_srol__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32660,6 +33528,7 @@ SWIGINTERN PyObject *_wrap_srol(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "srol", 0, 2, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -32690,6 +33559,7 @@ SWIGINTERN PyObject *_wrap_sror(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); @@ -32716,6 +33586,7 @@ SWIGINTERN PyObject *_wrap_ntf64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32748,6 +33619,7 @@ SWIGINTERN PyObject *_wrap_ntr64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32785,6 +33657,7 @@ SWIGINTERN PyObject *_wrap_ntf64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int ecode4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32820,6 +33693,7 @@ SWIGINTERN PyObject *_wrap_ntf64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntf64", 0, 4, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -32858,6 +33732,7 @@ SWIGINTERN PyObject *_wrap_ntr64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int ecode4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32893,6 +33768,7 @@ SWIGINTERN PyObject *_wrap_ntr64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntr64", 0, 4, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -32926,6 +33802,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32964,6 +33841,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int res4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33020,6 +33898,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObj int res5 = 0 ; uint64_t result; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33077,6 +33956,7 @@ SWIGINTERN PyObject *_wrap_ntf64l(PyObject *self, PyObject *args) { PyObject *swig_obj[4] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntf64l", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33123,6 +34003,7 @@ SWIGINTERN PyObject *_wrap_ntr64l(PyObject *self, PyObject *args) { PyObject *swig_obj[4] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntr64l", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33172,6 +34053,7 @@ SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { PyObject *swig_obj[5] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntc64l", 5, 5, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33228,6 +34110,7 @@ SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { int res4 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "nte64", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33273,6 +34156,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyOb void *argp4 = 0 ; int res4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33326,6 +34210,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyOb void *argp6 = 0 ; int res6 = 0 ; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33397,6 +34282,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyOb void *argp7 = 0 ; int res7 = 0 ; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33472,6 +34358,7 @@ SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { int res7 = 0 ; PyObject *swig_obj[7] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntmc64l", 7, 7, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33539,6 +34426,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObj int res4 = 0 ; bool result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33596,6 +34484,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyOb int res5 = 0 ; bool result; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33658,6 +34547,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObj int res6 = 0 ; bool result; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33717,6 +34607,7 @@ SWIGINTERN PyObject *_wrap_ntc64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntc64", 0, 6, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -33790,6 +34681,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyOb int res7 = 0 ; bool result; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33874,6 +34766,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyOb int res8 = 0 ; bool result; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33964,6 +34857,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyOb void *argp8 = 0 ; int res8 = 0 ; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -34028,6 +34922,7 @@ SWIGINTERN PyObject *_wrap_ntmc64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntmc64", 0, 8, argv))) SWIG_fail; --argc; if (argc == 4) { @@ -34162,6 +35057,7 @@ SWIGINTERN PyObject *_wrap_mask_hash(PyObject *self, PyObject *args) { PyObject *swig_obj[5] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "mask_hash", 5, 5, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_unsigned_long_long, 0 ); if (!SWIG_IsOK(res1)) { @@ -34233,6 +35129,7 @@ SWIGINTERN PyObject *_wrap_sub_hash(PyObject *self, PyObject *args) { int res8 = 0 ; PyObject *swig_obj[8] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "sub_hash", 8, 8, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -34340,6 +35237,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int res12 = 0 ; bool result; + (void)self; if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -34461,6 +35359,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO void *argp11 = 0 ; int res11 = 0 ; + (void)self; if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -34574,6 +35473,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py void *argp11 = 0 ; int res11 = 0 ; + (void)self; if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -34690,6 +35590,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO void *argp12 = 0 ; int res12 = 0 ; + (void)self; if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -34778,6 +35679,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64", 0, 12, argv))) SWIG_fail; --argc; if (argc == 11) { @@ -34877,6 +35779,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py void *argp12 = 0 ; int res12 = 0 ; + (void)self; if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -34965,6 +35868,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64l(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64l", 0, 12, argv))) SWIG_fail; --argc; if (argc == 11) { @@ -34997,6 +35901,7 @@ SWIGINTERN PyObject *_wrap_Datatype_prefixes_set(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -35022,9 +35927,9 @@ SWIGINTERN PyObject *_wrap_Datatype_prefixes_get(PyObject *self, PyObject *args) btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_prefixes_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35049,6 +35954,7 @@ SWIGINTERN PyObject *_wrap_Datatype_suffixes_set(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -35074,9 +35980,9 @@ SWIGINTERN PyObject *_wrap_Datatype_suffixes_get(PyObject *self, PyObject *args) btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_suffixes_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35101,6 +36007,7 @@ SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_set(PyObject *self, PyO int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -35126,9 +36033,9 @@ SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_get(PyObject *self, PyO btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_cmds_check_existence_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35153,6 +36060,7 @@ SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -35178,9 +36086,9 @@ SWIGINTERN PyObject *_wrap_Datatype_read_cmds_get(PyObject *self, PyObject *args btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_read_cmds_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35205,6 +36113,7 @@ SWIGINTERN PyObject *_wrap_Datatype_write_cmds_set(PyObject *self, PyObject *arg int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -35230,9 +36139,9 @@ SWIGINTERN PyObject *_wrap_Datatype_write_cmds_get(PyObject *self, PyObject *arg btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_write_cmds_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35257,6 +36166,7 @@ SWIGINTERN PyObject *_wrap_Datatype_append_cmds_set(PyObject *self, PyObject *ar int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -35282,9 +36192,9 @@ SWIGINTERN PyObject *_wrap_Datatype_append_cmds_get(PyObject *self, PyObject *ar btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_append_cmds_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35303,6 +36213,7 @@ SWIGINTERN int _wrap_new_Datatype(PyObject *self, PyObject *args, PyObject *kwar PyObject *resultobj = 0; btllib::Datatype *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Datatype")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_Datatype", 0, 0, 0)) SWIG_fail; result = (btllib::Datatype *)new btllib::Datatype(); @@ -35318,8 +36229,8 @@ SWIGINTERN PyObject *_wrap_delete_Datatype(PyObject *self, PyObject *args) { btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Datatype", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -35359,6 +36270,7 @@ SWIGINTERN int _wrap_new_DataSource(PyObject *self, PyObject *args, PyObject *kw PyObject *swig_obj[1] ; btllib::DataSource *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSource")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_DataSource", 1, 1, swig_obj)) SWIG_fail; { @@ -35387,8 +36299,8 @@ SWIGINTERN PyObject *_wrap_delete_DataSource(PyObject *self, PyObject *args) { btllib::DataSource *arg1 = (btllib::DataSource *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_DataSource", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSource, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -35414,6 +36326,7 @@ SWIGINTERN int _wrap_new_DataSink__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyOb int ecode2 = 0 ; btllib::DataSink *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -35447,6 +36360,7 @@ SWIGINTERN int _wrap_new_DataSink__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyOb int res1 = SWIG_OLDOBJ ; btllib::DataSink *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -35475,6 +36389,7 @@ SWIGINTERN int _wrap_new_DataSink(PyObject *self, PyObject *args, PyObject *kwar 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSink")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_DataSink", 0, 2, argv))) SWIG_fail; --argc; @@ -35503,8 +36418,8 @@ SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { btllib::DataSink *arg1 = (btllib::DataSink *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_DataSink", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSink, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -35589,6 +36504,7 @@ SWIGINTERN PyObject *_wrap_get_time(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "get_time", 0, 0, 0)) SWIG_fail; result = btllib::get_time(); resultobj = SWIG_From_std_string(static_cast< std::string >(result)); @@ -35604,6 +36520,7 @@ SWIGINTERN PyObject *_wrap_log_info(PyObject *self, PyObject *args) { int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -35633,6 +36550,7 @@ SWIGINTERN PyObject *_wrap_log_warning(PyObject *self, PyObject *args) { int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -35662,6 +36580,7 @@ SWIGINTERN PyObject *_wrap_log_error(PyObject *self, PyObject *args) { int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -35694,6 +36613,7 @@ SWIGINTERN PyObject *_wrap_check_info(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_info", 2, 2, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -35730,6 +36650,7 @@ SWIGINTERN PyObject *_wrap_check_warning(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_warning", 2, 2, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -35766,6 +36687,7 @@ SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_error", 2, 2, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -35797,6 +36719,7 @@ SWIGINTERN PyObject *_wrap_get_strerror(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "get_strerror", 0, 0, 0)) SWIG_fail; result = btllib::get_strerror(); resultobj = SWIG_From_std_string(static_cast< std::string >(result)); @@ -35815,6 +36738,7 @@ SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_stream", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0); if (!SWIG_IsOK(res1)) { @@ -35851,6 +36775,7 @@ SWIGINTERN PyObject *_wrap_check_file_accessibility(PyObject *self, PyObject *ar int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -35960,6 +36885,7 @@ SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -35993,6 +36919,7 @@ SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_1(PyObject *self, Py_ssize_t nobjs, void *argp3 = 0 ; int res3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -36037,6 +36964,7 @@ SWIGINTERN PyObject *_wrap_parse_seeds(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "parse_seeds", 0, 3, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -36074,6 +37002,7 @@ SWIGINTERN PyObject *_wrap_parsed_seeds_to_blocks(PyObject *self, PyObject *args int res4 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "parsed_seeds_to_blocks", 4, 4, swig_obj)) SWIG_fail; { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -36126,6 +37055,7 @@ SWIGINTERN PyObject *_wrap_check_seeds(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_seeds", 2, 2, swig_obj)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -36158,9 +37088,9 @@ SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_roll", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36180,9 +37110,9 @@ SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_roll_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36204,6 +37134,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36225,6 +37156,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t n int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36249,6 +37181,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36274,6 +37207,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -36306,6 +37240,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t n int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36331,6 +37266,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek_back", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -36364,6 +37300,7 @@ SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_sub", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36409,9 +37346,9 @@ SWIGINTERN PyObject *_wrap_NtHash_hashes(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36436,9 +37373,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36458,9 +37395,9 @@ SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36480,9 +37417,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36502,9 +37439,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36524,9 +37461,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_forward_hash(PyObject *self, PyObject *arg btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36546,9 +37483,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_reverse_hash(PyObject *self, PyObject *arg btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36574,6 +37511,7 @@ SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36614,6 +37552,7 @@ SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36647,6 +37586,7 @@ SWIGINTERN PyObject *_wrap_NtHash_change_seq(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -36683,6 +37623,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje int ecode4 = 0 ; btllib::NtHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -36708,7 +37649,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NtHash" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3,arg4); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -36727,6 +37668,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje int ecode3 = 0 ; btllib::NtHash *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -36747,7 +37689,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -36761,6 +37703,7 @@ SWIGINTERN int _wrap_new_NtHash(PyObject *self, PyObject *args, PyObject *kwargs 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_NtHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_NtHash", 0, 4, argv))) SWIG_fail; --argc; @@ -36789,8 +37732,8 @@ SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_NtHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -36818,6 +37761,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -36849,6 +37793,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -36880,6 +37825,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -36911,6 +37857,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -36942,6 +37889,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_sub", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36987,9 +37935,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37014,9 +37962,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37036,9 +37984,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37058,9 +38006,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *ar btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37080,9 +38028,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37102,9 +38050,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37124,9 +38072,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37152,6 +38100,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37192,6 +38141,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37225,6 +38175,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BlindNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -37261,6 +38212,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int ecode4 = 0 ; btllib::BlindNtHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -37286,7 +38238,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, P SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BlindNtHash" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3,arg4); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -37305,6 +38257,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int ecode3 = 0 ; btllib::BlindNtHash *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -37325,7 +38278,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, P SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -37339,6 +38292,7 @@ SWIGINTERN int _wrap_new_BlindNtHash(PyObject *self, PyObject *args, PyObject *k 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BlindNtHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_BlindNtHash", 0, 4, argv))) SWIG_fail; --argc; @@ -37367,8 +38321,8 @@ SWIGINTERN PyObject *_wrap_delete_BlindNtHash(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_BlindNtHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -37390,9 +38344,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_roll(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37412,9 +38366,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_roll_back(PyObject *self, PyObject *args) btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37436,6 +38390,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_0(PyObject *self, Py_ssize_t no int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37457,6 +38412,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37481,6 +38437,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t no int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37506,6 +38463,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -37538,6 +38496,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37563,6 +38522,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek_back", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -37590,9 +38550,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_hashes(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37623,6 +38583,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssiz size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37663,6 +38624,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_1(PyObject *self, Py_ssiz int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37696,6 +38658,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -37723,9 +38686,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37745,9 +38708,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37767,9 +38730,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *arg btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37789,9 +38752,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyOb btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37811,9 +38774,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_k(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37833,9 +38796,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_forward_hash(PyObject *self, PyObject btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37855,9 +38818,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_reverse_hash(PyObject *self, PyObject btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37888,6 +38851,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int ecode5 = 0 ; btllib::SeedNtHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -37924,7 +38888,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedNtHash" "', argument " "5"" of type '" "size_t""'"); } arg5 = static_cast< size_t >(val5); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,arg5); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj == Py_None ? -1 : 0; @@ -37947,6 +38911,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode4 = 0 ; btllib::SeedNtHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -37978,7 +38943,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj == Py_None ? -1 : 0; @@ -37994,6 +38959,7 @@ SWIGINTERN int _wrap_new_SeedNtHash(PyObject *self, PyObject *args, PyObject *kw 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedNtHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedNtHash", 0, 5, argv))) SWIG_fail; --argc; @@ -38022,8 +38988,8 @@ SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeedNtHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -38050,6 +39016,7 @@ SWIGINTERN int _wrap_new_RandSeq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; btllib::RandSeq *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -38076,6 +39043,7 @@ SWIGINTERN int _wrap_new_RandSeq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int ecode1 = 0 ; btllib::RandSeq *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -38096,6 +39064,7 @@ SWIGINTERN int _wrap_new_RandSeq(PyObject *self, PyObject *args, PyObject *kwarg 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_RandSeq")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_RandSeq", 0, 2, argv))) SWIG_fail; --argc; @@ -38129,6 +39098,7 @@ SWIGINTERN PyObject *_wrap_RandSeq_set_seed(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, 0 | 0 ); @@ -38160,6 +39130,7 @@ SWIGINTERN PyObject *_wrap_RandSeq_generate(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, 0 | 0 ); @@ -38185,8 +39156,8 @@ SWIGINTERN PyObject *_wrap_delete_RandSeq(PyObject *self, PyObject *args) { btllib::RandSeq *arg1 = (btllib::RandSeq *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_RandSeq", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandSeq, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -40473,6 +41444,7 @@ SWIGINTERN PyObject *_wrap_aahash_base__SWIG_0(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -40510,6 +41482,7 @@ SWIGINTERN PyObject *_wrap_aahash_base__SWIG_1(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -40537,6 +41510,7 @@ SWIGINTERN PyObject *_wrap_aahash_base(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "aahash_base", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -40578,6 +41552,7 @@ SWIGINTERN PyObject *_wrap_aahash_roll__SWIG_0(PyObject *self, Py_ssize_t nobjs, int ecode5 = 0 ; uint64_t result; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -40628,6 +41603,7 @@ SWIGINTERN PyObject *_wrap_aahash_roll__SWIG_1(PyObject *self, Py_ssize_t nobjs, int ecode4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -40663,6 +41639,7 @@ SWIGINTERN PyObject *_wrap_aahash_roll(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "aahash_roll", 0, 5, argv))) SWIG_fail; --argc; if (argc == 4) { @@ -40702,6 +41679,7 @@ SWIGINTERN PyObject *_wrap_aa_modify_base_with_seed(PyObject *self, PyObject *ar PyObject *swig_obj[4] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "aa_modify_base_with_seed", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -40748,6 +41726,7 @@ SWIGINTERN PyObject *_wrap_aa_parse_seeds(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -40790,6 +41769,7 @@ SWIGINTERN int _wrap_new_AAHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje int ecode5 = 0 ; btllib::AAHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string_view, 0 | 0); @@ -40848,6 +41828,7 @@ SWIGINTERN int _wrap_new_AAHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje int ecode4 = 0 ; btllib::AAHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string_view, 0 | 0); @@ -40890,9 +41871,9 @@ SWIGINTERN PyObject *_wrap_AAHash_roll(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_roll", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40912,9 +41893,9 @@ SWIGINTERN PyObject *_wrap_AAHash_hashes(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40939,9 +41920,9 @@ SWIGINTERN PyObject *_wrap_AAHash_get_pos(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40961,9 +41942,9 @@ SWIGINTERN PyObject *_wrap_AAHash_get_hash_num(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40983,9 +41964,9 @@ SWIGINTERN PyObject *_wrap_AAHash_get_k(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41005,9 +41986,9 @@ SWIGINTERN PyObject *_wrap_AAHash_forward(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41027,9 +42008,9 @@ SWIGINTERN PyObject *_wrap_AAHash_get_forward_hash(PyObject *self, PyObject *arg btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41049,9 +42030,9 @@ SWIGINTERN PyObject *_wrap_AAHash_get_level(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_get_level", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41071,9 +42052,9 @@ SWIGINTERN PyObject *_wrap_AAHash_get_seq(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; char *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "AAHash_get_seq", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41105,6 +42086,7 @@ SWIGINTERN int _wrap_new_AAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObje int ecode5 = 0 ; btllib::AAHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41135,7 +42117,7 @@ SWIGINTERN int _wrap_new_AAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObje SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_AAHash" "', argument " "5"" of type '" "size_t""'"); } arg5 = static_cast< size_t >(val5); - result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(arg1,arg2,arg3,arg4,arg5); + result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(SWIG_STD_MOVE(arg1),arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -41157,6 +42139,7 @@ SWIGINTERN int _wrap_new_AAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObje int ecode4 = 0 ; btllib::AAHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41182,7 +42165,7 @@ SWIGINTERN int _wrap_new_AAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObje SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_AAHash" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); - result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(arg1,arg2,arg3,arg4); + result = (btllib::AAHash *)new_btllib_AAHash__SWIG_2(SWIG_STD_MOVE(arg1),arg2,arg3,arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__AAHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -41196,6 +42179,7 @@ SWIGINTERN int _wrap_new_AAHash(PyObject *self, PyObject *args, PyObject *kwargs 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_AAHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_AAHash", 0, 5, argv))) SWIG_fail; --argc; @@ -41280,8 +42264,8 @@ SWIGINTERN PyObject *_wrap_delete_AAHash(PyObject *self, PyObject *args) { btllib::AAHash *arg1 = (btllib::AAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_AAHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__AAHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -41317,6 +42301,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int ecode5 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -41377,6 +42362,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode4 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -41433,6 +42419,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_2(PyObject *self, Py_ssize_t nobjs, Py int ecode5 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41497,6 +42484,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_3(PyObject *self, Py_ssize_t nobjs, Py int ecode4 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41561,6 +42549,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_4(PyObject *self, Py_ssize_t nobjs, Py int ecode5 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -41621,6 +42610,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_5(PyObject *self, Py_ssize_t nobjs, Py int ecode4 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -41677,6 +42667,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_6(PyObject *self, Py_ssize_t nobjs, Py int ecode5 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41741,6 +42732,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_7(PyObject *self, Py_ssize_t nobjs, Py int ecode4 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41793,6 +42785,7 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_8(PyObject *self, Py_ssize_t nobjs, Py int res1 = 0 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, 0 | 0); if (!SWIG_IsOK(res1)) { @@ -41815,17 +42808,24 @@ SWIGINTERN int _wrap_new_SeedAAHash__SWIG_9(PyObject *self, Py_ssize_t nobjs, Py btllib::SeedAAHash *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; + std::unique_ptr< btllib::SeedAAHash > rvrdeleter1 ; btllib::SeedAAHash *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, 0 ); + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_RELEASE | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); + if (res1 == SWIG_ERROR_RELEASE_NOT_OWNED) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', cannot release ownership as memory is not owned for argument " "1"" of type '" "btllib::SeedAAHash &&""'"); + } else { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); + } } if (!argp1) { SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedAAHash" "', argument " "1"" of type '" "btllib::SeedAAHash &&""'"); } arg1 = reinterpret_cast< btllib::SeedAAHash * >(argp1); + rvrdeleter1.reset(arg1); result = (btllib::SeedAAHash *)new btllib::SeedAAHash((btllib::SeedAAHash &&)*arg1); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedAAHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; @@ -41840,6 +42840,7 @@ SWIGINTERN int _wrap_new_SeedAAHash(PyObject *self, PyObject *args, PyObject *kw 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedAAHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedAAHash", 0, 5, argv))) SWIG_fail; --argc; @@ -41990,9 +42991,9 @@ SWIGINTERN PyObject *_wrap_SeedAAHash_roll(PyObject *self, PyObject *args) { btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_roll", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42012,9 +43013,9 @@ SWIGINTERN PyObject *_wrap_SeedAAHash_hashes(PyObject *self, PyObject *args) { btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42034,9 +43035,9 @@ SWIGINTERN PyObject *_wrap_SeedAAHash_get_pos(PyObject *self, PyObject *args) { btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42056,9 +43057,9 @@ SWIGINTERN PyObject *_wrap_SeedAAHash_get_hash_num(PyObject *self, PyObject *arg btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42078,9 +43079,9 @@ SWIGINTERN PyObject *_wrap_SeedAAHash_get_hash_num_per_seed(PyObject *self, PyOb btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42100,9 +43101,9 @@ SWIGINTERN PyObject *_wrap_SeedAAHash_get_k(PyObject *self, PyObject *args) { btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedAAHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42122,8 +43123,8 @@ SWIGINTERN PyObject *_wrap_delete_SeedAAHash(PyObject *self, PyObject *args) { btllib::SeedAAHash *arg1 = (btllib::SeedAAHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeedAAHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedAAHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -42144,6 +43145,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t PyObject *resultobj = 0; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -42164,6 +43166,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -42202,6 +43205,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t int ecode2 = 0 ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -42227,6 +43231,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -42255,6 +43260,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8(PyObject *self, PyObject *args, Py 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -42299,6 +43305,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_0(PyObject *self, P void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42326,6 +43333,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_1(PyObject *self, P int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42359,6 +43367,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42397,6 +43406,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_0(PyObject *self, P void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42424,6 +43434,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_1(PyObject *self, P int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42457,6 +43468,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_remove", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42495,6 +43507,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_0(PyObject *self, Py void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42522,6 +43535,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_1(PyObject *self, Py int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42555,6 +43569,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42594,6 +43609,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42622,6 +43638,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_1(PyObject *self, int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42655,6 +43672,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42694,6 +43712,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_0(PyObject int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42722,6 +43741,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_1(PyObject int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42755,6 +43775,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42794,6 +43815,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_0(PyObject int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42822,6 +43844,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_1(PyObject int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42855,6 +43878,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42897,6 +43921,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42933,6 +43958,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42971,6 +43997,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -43015,6 +44042,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43051,6 +44079,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43089,6 +44118,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -43125,9 +44155,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_bytes(PyObject *self, PyObje btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43152,6 +44182,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *se int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43178,6 +44209,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *se int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43198,6 +44230,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -43230,6 +44263,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_0(PyObject * int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43256,6 +44290,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_1(PyObject * int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43276,6 +44311,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy(PyObject *self, Py 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -43303,9 +44339,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_num(PyObject *self, PyO btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43330,6 +44366,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43356,6 +44393,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43376,6 +44414,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -43403,9 +44442,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_fn(PyObject *self, PyOb btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43429,6 +44468,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_save(PyObject *self, PyObject *a int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -43464,6 +44504,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_is_bloom_file(PyObject *self, Py PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -43492,8 +44533,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter8(PyObject *self, PyObject btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -43514,6 +44555,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_ PyObject *resultobj = 0; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -43534,6 +44576,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -43572,6 +44615,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -43597,6 +44641,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_3(PyObject *self, Py_ssize_ int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -43625,6 +44670,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16(PyObject *self, PyObject *args, P 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -43669,6 +44715,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43696,6 +44743,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43729,6 +44777,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -43767,6 +44816,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43794,6 +44844,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43827,6 +44878,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_remove", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -43865,6 +44917,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_0(PyObject *self, P void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43892,6 +44945,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_1(PyObject *self, P int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43925,6 +44979,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -43964,6 +45019,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43992,6 +45048,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_1(PyObject *self int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44025,6 +45082,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains(PyObject *self, PyObje 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44064,6 +45122,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_0(PyObjec int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44092,6 +45151,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44125,6 +45185,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44164,6 +45225,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_0(PyObjec int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44192,6 +45254,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44225,6 +45288,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44267,6 +45331,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44303,6 +45368,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44341,6 +45407,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -44385,6 +45452,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44421,6 +45489,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44459,6 +45528,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -44495,9 +45565,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_bytes(PyObject *self, PyObj btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44522,6 +45592,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *s int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44548,6 +45619,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *s int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44568,6 +45640,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -44600,6 +45673,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_0(PyObject int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44626,6 +45700,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_1(PyObject int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44646,6 +45721,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy(PyObject *self, P 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -44673,9 +45749,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_num(PyObject *self, Py btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44700,6 +45776,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44726,6 +45803,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44746,6 +45824,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -44773,9 +45852,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_fn(PyObject *self, PyO btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44799,6 +45878,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_save(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -44834,6 +45914,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_is_bloom_file(PyObject *self, P PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -44862,8 +45943,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter16(PyObject *self, PyObject btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -44884,6 +45965,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_ PyObject *resultobj = 0; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -44904,6 +45986,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -44942,6 +46025,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -44967,6 +46051,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_3(PyObject *self, Py_ssize_ int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -44995,6 +46080,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32(PyObject *self, PyObject *args, P 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -45039,6 +46125,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45066,6 +46153,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45099,6 +46187,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45137,6 +46226,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45164,6 +46254,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45197,6 +46288,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_remove", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45235,6 +46327,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_0(PyObject *self, P void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45262,6 +46355,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_1(PyObject *self, P int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45295,6 +46389,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45334,6 +46429,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45362,6 +46458,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_1(PyObject *self int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45395,6 +46492,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains(PyObject *self, PyObje 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45434,6 +46532,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_0(PyObjec int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45462,6 +46561,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45495,6 +46595,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45534,6 +46635,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_0(PyObjec int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45562,6 +46664,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45595,6 +46698,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45637,6 +46741,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45673,6 +46778,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45711,6 +46817,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -45755,6 +46862,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45791,6 +46899,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45829,6 +46938,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -45865,9 +46975,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_bytes(PyObject *self, PyObj btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45892,6 +47002,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *s int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45918,6 +47029,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *s int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45938,6 +47050,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -45970,6 +47083,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_0(PyObject int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45996,6 +47110,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_1(PyObject int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46016,6 +47131,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy(PyObject *self, P 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -46043,9 +47159,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_num(PyObject *self, Py btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46070,6 +47186,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46096,6 +47213,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46116,6 +47234,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -46143,9 +47262,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_fn(PyObject *self, PyO btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46169,6 +47288,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_save(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -46204,6 +47324,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_is_bloom_file(PyObject *self, P PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -46232,8 +47353,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter32(PyObject *self, PyObject btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -46254,6 +47375,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_0(PyObject *self, Py_ssi PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -46276,6 +47398,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -46306,6 +47429,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_2(PyObject *self, Py_ssi int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -46334,6 +47458,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8(PyObject *self, PyObject *args 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -46376,6 +47501,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46410,6 +47536,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_1(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46446,6 +47573,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_2(PyObject *sel void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46473,6 +47601,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_3(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46506,6 +47635,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -46566,6 +47696,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46600,6 +47731,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_1(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46636,6 +47768,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_2(PyObject *sel void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46663,6 +47796,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_3(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46696,6 +47830,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_remove", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -46756,6 +47891,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46790,6 +47926,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_1(PyObject *self int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46826,6 +47963,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_2(PyObject *self void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46853,6 +47991,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_3(PyObject *self int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46886,6 +48025,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObje 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_clear", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -46947,6 +48087,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *s int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46982,6 +48123,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_1(PyObject *s int res2 = SWIG_OLDOBJ ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47019,6 +48161,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_2(PyObject *s int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47047,6 +48190,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_3(PyObject *s int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47080,6 +48224,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -47141,6 +48286,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyOb int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47176,6 +48322,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47213,6 +48360,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(PyOb int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47241,6 +48389,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47274,6 +48423,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *se 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -47335,6 +48485,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyOb int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47370,6 +48521,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47407,6 +48559,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(PyOb int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47435,6 +48588,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47468,6 +48622,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *se 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -47532,6 +48687,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode4 = 0 ; unsigned char result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47575,6 +48731,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47620,6 +48777,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47656,6 +48814,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47694,6 +48853,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -47762,6 +48922,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode4 = 0 ; unsigned char result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47805,6 +48966,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47850,6 +49012,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47886,6 +49049,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47924,6 +49088,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -47980,9 +49145,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_bytes(PyObject *self, Py btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48007,6 +49172,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48033,6 +49199,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48053,6 +49220,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -48085,6 +49253,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(PyObje int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48111,6 +49280,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(PyObje int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48131,6 +49301,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy(PyObject *self 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -48158,9 +49329,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_num(PyObject *self, btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48185,6 +49356,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(PyObject *se int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48211,6 +49383,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(PyObject *se int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48231,6 +49404,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -48258,9 +49432,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_k(PyObject *self, PyObje btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48280,9 +49454,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48302,9 +49476,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_counting_bloom_filter(Py btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned char > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48328,6 +49502,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_save(PyObject *self, PyObjec int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -48363,6 +49538,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_is_bloom_file(PyObject *self PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -48391,8 +49567,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter8(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -48413,6 +49589,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_0(PyObject *self, Py_ss PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -48435,6 +49612,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -48465,6 +49643,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_2(PyObject *self, Py_ss int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -48493,6 +49672,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16(PyObject *self, PyObject *arg 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -48535,6 +49715,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48569,6 +49750,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48605,6 +49787,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48632,6 +49815,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48665,6 +49849,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -48725,6 +49910,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48759,6 +49945,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48795,6 +49982,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48822,6 +50010,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48855,6 +50044,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_remove", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -48915,6 +50105,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48949,6 +50140,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_1(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48985,6 +50177,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_2(PyObject *sel void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49012,6 +50205,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_3(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49045,6 +50239,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_clear", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -49106,6 +50301,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49141,6 +50337,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_1(PyObject * int res2 = SWIG_OLDOBJ ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49178,6 +50375,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_2(PyObject * int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49206,6 +50404,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_3(PyObject * int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49239,6 +50438,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, Py 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -49300,6 +50500,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyO int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49335,6 +50536,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49372,6 +50574,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(PyO int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49400,6 +50603,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49433,6 +50637,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -49494,6 +50699,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyO int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49529,6 +50735,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49566,6 +50773,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(PyO int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49594,6 +50802,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49627,6 +50836,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -49691,6 +50901,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode4 = 0 ; unsigned short result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49734,6 +50945,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49779,6 +50991,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49815,6 +51028,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49853,6 +51067,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -49921,6 +51136,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode4 = 0 ; unsigned short result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49964,6 +51180,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50009,6 +51226,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50045,6 +51263,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50083,6 +51302,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -50139,9 +51359,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_bytes(PyObject *self, P btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50166,6 +51386,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(PyObjec int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50192,6 +51413,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(PyObjec int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50212,6 +51434,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -50244,6 +51467,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(PyObj int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50270,6 +51494,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(PyObj int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50290,6 +51515,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy(PyObject *sel 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -50317,9 +51543,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_num(PyObject *self btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50344,6 +51570,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(PyObject *s int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50370,6 +51597,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(PyObject *s int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50390,6 +51618,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -50417,9 +51646,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_k(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50439,9 +51668,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50461,9 +51690,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_counting_bloom_filter(P btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned short > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50487,6 +51716,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_save(PyObject *self, PyObje int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -50522,6 +51752,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_is_bloom_file(PyObject *sel PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -50550,8 +51781,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter16(PyObject *self, PyOb btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -50572,6 +51803,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_0(PyObject *self, Py_ss PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -50594,6 +51826,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -50624,6 +51857,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_2(PyObject *self, Py_ss int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -50652,6 +51886,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32(PyObject *self, PyObject *arg 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -50694,6 +51929,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50728,6 +51964,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50764,6 +52001,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50791,6 +52029,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50824,6 +52063,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -50884,6 +52124,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50918,6 +52159,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50954,6 +52196,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -50981,6 +52224,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51014,6 +52258,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_remove", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -51074,6 +52319,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51108,6 +52354,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_1(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51144,6 +52391,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_2(PyObject *sel void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51171,6 +52419,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_3(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51204,6 +52453,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_clear", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -51265,6 +52515,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51300,6 +52551,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_1(PyObject * int res2 = SWIG_OLDOBJ ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51337,6 +52589,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_2(PyObject * int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51365,6 +52618,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_3(PyObject * int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51398,6 +52652,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains(PyObject *self, Py 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -51459,6 +52714,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(PyO int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51494,6 +52750,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51531,6 +52788,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(PyO int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51559,6 +52817,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51592,6 +52851,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -51653,6 +52913,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(PyO int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51688,6 +52949,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51725,6 +52987,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(PyO int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51753,6 +53016,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51786,6 +53050,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -51850,6 +53115,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode4 = 0 ; unsigned int result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51893,6 +53159,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51938,6 +53205,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -51974,6 +53242,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52012,6 +53281,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -52080,6 +53350,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode4 = 0 ; unsigned int result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52123,6 +53394,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52168,6 +53440,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52204,6 +53477,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52242,6 +53516,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -52298,9 +53573,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_bytes(PyObject *self, P btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52325,6 +53600,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(PyObjec int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52351,6 +53627,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(PyObjec int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52371,6 +53648,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -52403,6 +53681,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(PyObj int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52429,6 +53708,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(PyObj int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52449,6 +53729,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy(PyObject *sel 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -52476,9 +53757,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_num(PyObject *self btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52503,6 +53784,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(PyObject *s int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52529,6 +53811,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(PyObject *s int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52549,6 +53832,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -52576,9 +53860,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_k(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52598,9 +53882,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52620,9 +53904,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_counting_bloom_filter(P btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned int > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -52646,6 +53930,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_save(PyObject *self, PyObje int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -52681,6 +53966,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_is_bloom_file(PyObject *sel PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -52709,8 +53995,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyOb btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -52731,6 +54017,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs PyObject *resultobj = 0; btllib::MIBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::MIBloomFilter< uint8_t > *)new btllib::MIBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -52751,6 +54038,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; btllib::MIBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -52789,6 +54077,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; btllib::MIBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -52819,6 +54108,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; btllib::MIBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { @@ -52860,6 +54150,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_4(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; btllib::MIBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { @@ -52888,6 +54179,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8__SWIG_5(PyObject *self, Py_ssize_t nobjs int res1 = SWIG_OLDOBJ ; btllib::MIBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -52916,6 +54208,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter8(PyObject *self, PyObject *args, PyObject 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -52986,8 +54279,8 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_bv_insertion(PyObject *self, btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_complete_bv_insertion", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53007,8 +54300,8 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_complete_id_insertion(PyObject *self, btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_complete_id_insertion", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53032,6 +54325,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_0(PyObject *self, Py_s void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53059,6 +54353,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv__SWIG_1(PyObject *self, Py_s int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53092,6 +54387,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_bv(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_bv", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -53131,6 +54427,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_0(PyObject *self, Py int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53159,6 +54456,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains__SWIG_1(PyObject *self, Py int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53192,6 +54490,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_bv_contains(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_bv_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -53234,6 +54533,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_0(PyObject *self, Py_s unsigned char val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53271,6 +54571,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id__SWIG_1(PyObject *self, Py_s unsigned char val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53310,6 +54611,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_id(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_id", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -53351,6 +54653,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_0(PyObject *self, Py_ssiz int res2 = 0 ; std::vector< unsigned char,std::allocator< unsigned char > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53386,6 +54689,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id__SWIG_1(PyObject *self, Py_ssiz int res2 = SWIG_OLDOBJ ; std::vector< unsigned char,std::allocator< unsigned char > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53426,6 +54730,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_id", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -53468,6 +54773,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_0(PyObject *se unsigned char val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53505,6 +54811,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation__SWIG_1(PyObject *se unsigned char val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53544,6 +54851,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_insert_saturation(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter8_insert_saturation", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -53584,6 +54892,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_save(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -53617,9 +54926,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_cnt(PyObject *self, PyObject * btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53639,9 +54948,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_pop_saturated_cnt(PyObject *self, btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53661,9 +54970,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_num(PyObject *self, PyObject btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53683,9 +54992,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_k(PyObject *self, PyObject *args) btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53705,9 +55014,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_hash_fn(PyObject *self, PyObject * btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -53734,6 +55043,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_get_id_occurence_count(PyObject *self, PyObject *swig_obj[2] ; SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -53776,6 +55086,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_calc_optimal_size(PyObject *self, PyOb PyObject *swig_obj[3] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter8_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -53792,7 +55103,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter8_calc_optimal_size(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter8_calc_optimal_size" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); + result = btllib::MIBloomFilter< uint8_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -53805,8 +55116,8 @@ SWIGINTERN PyObject *_wrap_delete_MIBloomFilter8(PyObject *self, PyObject *args) btllib::MIBloomFilter< uint8_t > *arg1 = (btllib::MIBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -53827,6 +55138,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; btllib::MIBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::MIBloomFilter< uint16_t > *)new btllib::MIBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -53847,6 +55159,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -53885,6 +55198,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_2(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -53915,6 +55229,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_3(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { @@ -53956,6 +55271,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_4(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { @@ -53984,6 +55300,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16__SWIG_5(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; btllib::MIBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -54012,6 +55329,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter16(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -54082,8 +55400,8 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_complete_bv_insertion(PyObject *self, btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_complete_bv_insertion", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54103,8 +55421,8 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_complete_id_insertion(PyObject *self, btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_complete_id_insertion", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54128,6 +55446,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv__SWIG_0(PyObject *self, Py_ void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54155,6 +55474,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv__SWIG_1(PyObject *self, Py_ int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54188,6 +55508,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_bv(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_bv", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -54227,6 +55548,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains__SWIG_0(PyObject *self, P int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54255,6 +55577,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains__SWIG_1(PyObject *self, P int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54288,6 +55611,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_bv_contains(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_bv_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -54330,6 +55654,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id__SWIG_0(PyObject *self, Py_ unsigned short val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54367,6 +55692,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id__SWIG_1(PyObject *self, Py_ unsigned short val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54406,6 +55732,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_id(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_id", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -54447,6 +55774,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id__SWIG_0(PyObject *self, Py_ssi int res2 = 0 ; SwigValueWrapper< std::vector< unsigned short,std::allocator< unsigned short > > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54482,6 +55810,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id__SWIG_1(PyObject *self, Py_ssi int res2 = SWIG_OLDOBJ ; SwigValueWrapper< std::vector< unsigned short,std::allocator< unsigned short > > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54522,6 +55851,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_id", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -54564,6 +55894,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation__SWIG_0(PyObject *s unsigned short val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54601,6 +55932,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation__SWIG_1(PyObject *s unsigned short val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54640,6 +55972,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_insert_saturation(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter16_insert_saturation", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -54680,6 +56013,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_save(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -54713,9 +56047,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_pop_cnt(PyObject *self, PyObject btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54735,9 +56069,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_pop_saturated_cnt(PyObject *self, btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54757,9 +56091,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_hash_num(PyObject *self, PyObject btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54779,9 +56113,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_k(PyObject *self, PyObject *args) btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54801,9 +56135,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_hash_fn(PyObject *self, PyObject btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -54830,6 +56164,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_get_id_occurence_count(PyObject *self PyObject *swig_obj[2] ; SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -54872,6 +56207,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_calc_optimal_size(PyObject *self, PyO PyObject *swig_obj[3] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter16_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -54888,7 +56224,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter16_calc_optimal_size(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter16_calc_optimal_size" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); + result = btllib::MIBloomFilter< uint16_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -54901,8 +56237,8 @@ SWIGINTERN PyObject *_wrap_delete_MIBloomFilter16(PyObject *self, PyObject *args btllib::MIBloomFilter< uint16_t > *arg1 = (btllib::MIBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -54923,6 +56259,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; btllib::MIBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::MIBloomFilter< uint32_t > *)new btllib::MIBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -54943,6 +56280,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -54981,6 +56319,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_2(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -55011,6 +56350,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_3(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { @@ -55052,6 +56392,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_4(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; btllib::MIBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_sdsl__bit_vector, 0 ); if (!SWIG_IsOK(res1)) { @@ -55080,6 +56421,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32__SWIG_5(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; btllib::MIBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -55108,6 +56450,7 @@ SWIGINTERN int _wrap_new_MIBloomFilter32(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_MIBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_MIBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -55178,8 +56521,8 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_bv_insertion(PyObject *self, btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_complete_bv_insertion", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55199,8 +56542,8 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_complete_id_insertion(PyObject *self, btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_complete_id_insertion", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55224,6 +56567,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_0(PyObject *self, Py_ void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55251,6 +56595,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv__SWIG_1(PyObject *self, Py_ int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55284,6 +56629,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_bv(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_bv", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -55323,6 +56669,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains__SWIG_0(PyObject *self, P int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55351,6 +56698,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains__SWIG_1(PyObject *self, P int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55384,6 +56732,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_bv_contains(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_bv_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -55426,6 +56775,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_0(PyObject *self, Py_ unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55463,6 +56813,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id__SWIG_1(PyObject *self, Py_ unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55502,6 +56853,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_id(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_id", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -55543,6 +56895,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id__SWIG_0(PyObject *self, Py_ssi int res2 = 0 ; std::vector< unsigned int,std::allocator< unsigned int > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55578,6 +56931,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id__SWIG_1(PyObject *self, Py_ssi int res2 = SWIG_OLDOBJ ; std::vector< unsigned int,std::allocator< unsigned int > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55618,6 +56972,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_id", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -55660,6 +57015,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_0(PyObject *s unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55697,6 +57053,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation__SWIG_1(PyObject *s unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55736,6 +57093,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_insert_saturation(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "MIBloomFilter32_insert_saturation", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -55776,6 +57134,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_save(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -55809,9 +57168,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_cnt(PyObject *self, PyObject btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55831,9 +57190,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_pop_saturated_cnt(PyObject *self, btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_pop_saturated_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55853,9 +57212,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_num(PyObject *self, PyObject btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55875,9 +57234,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_k(PyObject *self, PyObject *args) btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55897,9 +57256,9 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_hash_fn(PyObject *self, PyObject btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -55926,6 +57285,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_get_id_occurence_count(PyObject *self PyObject *swig_obj[2] ; SwigValueWrapper< std::vector< size_t,std::allocator< size_t > > > result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -55968,6 +57328,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_calc_optimal_size(PyObject *self, PyO PyObject *swig_obj[3] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "MIBloomFilter32_calc_optimal_size", 3, 3, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -55984,7 +57345,7 @@ SWIGINTERN PyObject *_wrap_MIBloomFilter32_calc_optimal_size(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MIBloomFilter32_calc_optimal_size" "', argument " "3"" of type '" "double""'"); } arg3 = static_cast< double >(val3); - result = btllib::MIBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(arg1,arg2,arg3); + result = btllib::MIBloomFilter< uint32_t >::SWIGTEMPLATEDISAMBIGUATOR calc_optimal_size(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -55997,8 +57358,8 @@ SWIGINTERN PyObject *_wrap_delete_MIBloomFilter32(PyObject *self, PyObject *args btllib::MIBloomFilter< uint32_t > *arg1 = (btllib::MIBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_MIBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__MIBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -56020,9 +57381,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56042,9 +57403,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56064,9 +57425,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56086,9 +57447,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56108,9 +57469,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56130,9 +57491,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56152,9 +57513,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56174,9 +57535,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56196,9 +57557,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -56206,7 +57567,7 @@ SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::Record(static_cast< const btllib::Record& >(result))), SWIGTYPE_p_btllib__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Record(result)), SWIGTYPE_p_btllib__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -56239,6 +57600,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int res8 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56321,6 +57683,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int res7 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56392,6 +57755,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObj int ecode6 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56452,6 +57816,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObj int ecode5 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56504,6 +57869,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObj int ecode4 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56548,6 +57914,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObj int ecode3 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56605,6 +57972,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObj int res9 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56695,6 +58063,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObj int res8 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56774,6 +58143,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObj int ecode7 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56842,6 +58212,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObj int ecode6 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56902,6 +58273,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyOb int ecode5 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56954,6 +58326,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyOb int ecode4 = 0 ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -56993,6 +58366,7 @@ SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwarg 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; --argc; @@ -57156,8 +58530,8 @@ SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -57177,8 +58551,8 @@ SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -57198,9 +58572,9 @@ SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< btllib::Indexlr< btllib::NtHash >::RecordIterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -57208,7 +58582,7 @@ SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::Indexlr< btllib::NtHash > * >(argp1); result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::RecordIterator(static_cast< const btllib::Indexlr< btllib::NtHash >::RecordIterator& >(result))), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr< btllib::NtHash >::RecordIterator(result)), SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -57220,9 +58594,9 @@ SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash > *arg1 = (btllib::Indexlr< btllib::NtHash > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::Indexlr< btllib::NtHash > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -57247,6 +58621,7 @@ SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -57272,6 +58647,7 @@ SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj = 0; btllib::Indexlr< btllib::NtHash >::Flag *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; result = (btllib::Indexlr< btllib::NtHash >::Flag *)new btllib::Indexlr< btllib::NtHash >::Flag(); @@ -57287,8 +58663,8 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { btllib::Indexlr< btllib::NtHash >::Flag *arg1 = (btllib::Indexlr< btllib::NtHash >::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -57310,9 +58686,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObje btllib::Indexlr< btllib::NtHash >::RecordIterator *arg1 = (btllib::Indexlr< btllib::NtHash >::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -57326,7 +58702,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObje SWIG_fail; } } - resultobj = SWIG_NewPointerObj((new btllib::Record(static_cast< const btllib::Record& >(result))), SWIGTYPE_p_btllib__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Record(result)), SWIGTYPE_p_btllib__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -57338,8 +58714,8 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrRecordIterator(PyObject *self, PyObject btllib::Indexlr< btllib::NtHash >::RecordIterator *arg1 = (btllib::Indexlr< btllib::NtHash >::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecordIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -57359,8 +58735,6 @@ SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_IndexlrRecordIterator___next__) /* defines _wr SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecordIterator) /* defines _wrap_delete_IndexlrRecordIterator_destructor_closure */ static PyMethodDef SwigMethods[] = { - { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, - { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -57392,15 +58766,9 @@ static PyMethodDef SwigMethods[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, - { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, - { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, - { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, - { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, - { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, - { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, { "split", _wrap_split, METH_VARARGS, NULL}, { "join", _wrap_join, METH_VARARGS, NULL}, { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, @@ -57445,21 +58813,10 @@ static PyMethodDef SwigMethods[] = { { "aahash_roll", _wrap_aahash_roll, METH_VARARGS, NULL}, { "aa_modify_base_with_seed", _wrap_aa_modify_base_with_seed, METH_VARARGS, NULL}, { "aa_parse_seeds", _wrap_aa_parse_seeds, METH_O, NULL}, - { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, - { "MIBloomFilter8_calc_optimal_size", _wrap_MIBloomFilter8_calc_optimal_size, METH_VARARGS, NULL}, - { "MIBloomFilter16_calc_optimal_size", _wrap_MIBloomFilter16_calc_optimal_size, METH_VARARGS, NULL}, - { "MIBloomFilter32_calc_optimal_size", _wrap_MIBloomFilter32_calc_optimal_size, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; static PyMethodDef SwigMethods_proxydocs[] = { - { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, - { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -57491,15 +58848,9 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, - { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, - { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, - { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, - { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, - { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, - { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, { "split", _wrap_split, METH_VARARGS, NULL}, { "join", _wrap_join, METH_VARARGS, NULL}, { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, @@ -57544,81 +58895,72 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "aahash_roll", _wrap_aahash_roll, METH_VARARGS, NULL}, { "aa_modify_base_with_seed", _wrap_aa_modify_base_with_seed, METH_VARARGS, NULL}, { "aa_parse_seeds", _wrap_aa_parse_seeds, METH_O, NULL}, - { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, - { "MIBloomFilter8_calc_optimal_size", _wrap_MIBloomFilter8_calc_optimal_size, METH_VARARGS, NULL}, - { "MIBloomFilter16_calc_optimal_size", _wrap_MIBloomFilter16_calc_optimal_size, METH_VARARGS, NULL}, - { "MIBloomFilter32_calc_optimal_size", _wrap_MIBloomFilter32_calc_optimal_size, METH_VARARGS, NULL}, { NULL, NULL, 0, NULL } }; -static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; -static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; +static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; +static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; +static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; +static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; +static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; +static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; +static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; +static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; +static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; +static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; static SwigPyGetSet ios_base_basefield_getset = { _wrap_ios_base_basefield_get, 0 }; static PyGetSetDef ios_base_basefield_getset_def = { (char *)"basefield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.basefield", &ios_base_basefield_getset }; -static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; -static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; -static SwigPyGetSet ios_base_unitbuf_getset = { _wrap_ios_base_unitbuf_get, 0 }; -static PyGetSetDef ios_base_unitbuf_getset_def = { (char *)"unitbuf", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.unitbuf", &ios_base_unitbuf_getset }; +static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; +static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; +static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; +static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; +static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; +static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; +static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; +static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; +static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; +static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; +static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; +static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; +static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; +static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; static SwigPyGetSet ios_base_out_getset = { _wrap_ios_base_out_get, 0 }; static PyGetSetDef ios_base_out_getset_def = { (char *)"out", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.out", &ios_base_out_getset }; -static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; -static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; -static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; -static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; -static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; -static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; +static SwigPyGetSet ios_base_unitbuf_getset = { _wrap_ios_base_unitbuf_get, 0 }; +static PyGetSetDef ios_base_unitbuf_getset_def = { (char *)"unitbuf", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.unitbuf", &ios_base_unitbuf_getset }; static SwigPyGetSet ios_base_oct_getset = { _wrap_ios_base_oct_get, 0 }; static PyGetSetDef ios_base_oct_getset_def = { (char *)"oct", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.oct", &ios_base_oct_getset }; -static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; -static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; static SwigPyGetSet ios_base_internal_getset = { _wrap_ios_base_internal_get, 0 }; static PyGetSetDef ios_base_internal_getset_def = { (char *)"internal", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.internal", &ios_base_internal_getset }; -static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; -static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; +static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; +static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; +static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; +static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; static SwigPyGetSet ios_base_skipws_getset = { _wrap_ios_base_skipws_get, 0 }; static PyGetSetDef ios_base_skipws_getset_def = { (char *)"skipws", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.skipws", &ios_base_skipws_getset }; -static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; -static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; -static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; -static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; -static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; -static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; +static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; +static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; +static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; +static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; +static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; +static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; +static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; +static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; static SwigPyGetSet ios_base_dec_getset = { _wrap_ios_base_dec_get, 0 }; static PyGetSetDef ios_base_dec_getset_def = { (char *)"dec", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.dec", &ios_base_dec_getset }; -static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; -static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; -static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; -static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; +static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; +static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; +static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; +static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; +static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; +static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; +static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; +static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; static SwigPyGetSet ios_base_showbase_getset = { _wrap_ios_base_showbase_get, 0 }; static PyGetSetDef ios_base_showbase_getset_def = { (char *)"showbase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showbase", &ios_base_showbase_getset }; -static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; -static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; -static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; -static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; -static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; -static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; -static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; -static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; -static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; -static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; static SwigPyGetSet ios_base_badbit_getset = { _wrap_ios_base_badbit_get, 0 }; static PyGetSetDef ios_base_badbit_getset_def = { (char *)"badbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.badbit", &ios_base_badbit_getset }; -static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; -static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; -static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; -static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; -static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; -static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; -static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; -static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; -static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; -static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; SWIGINTERN PyGetSetDef SwigPyBuiltin__std__ios_base_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &ios_base___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ @@ -57666,7 +59008,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_base_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -57738,6 +59084,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -57838,6 +59187,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__ios_base_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__ios_base_type}; @@ -57893,7 +59251,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -57965,6 +59327,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -58065,6 +59430,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iosT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iosT_char_t_type}; @@ -58111,7 +59485,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ostream_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -58183,6 +59561,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -58283,6 +59664,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_ostreamT_char_t_type}; @@ -58336,7 +59726,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_istream_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -58408,6 +59802,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -58508,6 +59905,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_istreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_istreamT_char_t_type}; @@ -58548,7 +59954,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_iostream_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -58620,6 +60030,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -58720,6 +60133,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iostreamT_char_t_type}; @@ -58781,7 +60203,11 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SwigPyIterator_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -58853,6 +60279,9 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -58953,6 +60382,15 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__swig__SwigPyIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__swig__SwigPyIterator_type}; @@ -59024,7 +60462,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_UCharVector_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59096,6 +60538,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -59196,6 +60641,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_char_t_type}; @@ -59267,7 +60721,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorString_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59339,6 +60797,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -59439,6 +60900,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_std__string_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_std__string_t_type}; @@ -59510,7 +60980,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorInt_destructor_closure,/* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59582,6 +61056,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -59682,6 +61159,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_int_t_type}; @@ -59753,7 +61239,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorUnsigned_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -59825,6 +61315,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -59925,6 +61418,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_int_t_type}; @@ -59996,7 +61498,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorDouble_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60068,6 +61574,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -60168,6 +61677,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_double_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_double_t_type}; @@ -60239,7 +61757,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorUint64t_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60311,6 +61833,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -60411,6 +61936,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_uint64_t_t_type}; @@ -60482,7 +62016,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorMinimizer_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60554,6 +62092,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -60654,6 +62195,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_type}; @@ -60725,7 +62275,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorSpacedSeed_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -60797,6 +62351,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -60897,25 +62454,34 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type}; -static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; -static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; -static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; -static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; +static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; +static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; +static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; +static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Minimizer_getset[] = { - { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, - { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, - { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, + { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, + { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, + { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -60949,7 +62515,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Minimizer_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61021,6 +62591,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Minimizer_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -61121,22 +62694,31 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Minimizer_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Minimizer_type}; -static SwigPyGetSet Record_minimizers_getset = { _wrap_Record_minimizers_get, _wrap_Record_minimizers_set }; -static SwigPyGetSet Record___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet Record_num_getset = { _wrap_Record_num_get, _wrap_Record_num_set }; -static SwigPyGetSet Record_id_getset = { _wrap_Record_id_get, _wrap_Record_id_set }; +static SwigPyGetSet Record___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Record_minimizers_getset = { _wrap_Record_minimizers_get, _wrap_Record_minimizers_set }; static SwigPyGetSet Record_readlen_getset = { _wrap_Record_readlen_get, _wrap_Record_readlen_set }; +static SwigPyGetSet Record_id_getset = { _wrap_Record_id_get, _wrap_Record_id_set }; static SwigPyGetSet Record_barcode_getset = { _wrap_Record_barcode_get, _wrap_Record_barcode_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Record_getset[] = { - { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_minimizers_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Record___dict___getset }, { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_num_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_id_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Record___dict___getset }, + { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_minimizers_getset }, { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_readlen_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_id_getset }, { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_barcode_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -61172,7 +62754,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Record_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61244,6 +62830,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -61344,6 +62933,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Record_type}; @@ -61396,7 +62994,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61468,6 +63070,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -61568,6 +63173,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; @@ -61621,7 +63235,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61693,6 +63311,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -61793,6 +63414,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; @@ -61850,7 +63480,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -61922,6 +63556,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -62022,6 +63659,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; @@ -62074,7 +63720,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62146,6 +63796,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -62246,6 +63899,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; @@ -62286,7 +63948,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62358,6 +64024,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -62458,23 +64127,32 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; -static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; -static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; -static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; +static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -62509,7 +64187,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62581,6 +64263,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -62681,6 +64366,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; @@ -62722,7 +64416,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -62794,6 +64492,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -62894,6 +64595,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; @@ -62935,7 +64645,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63007,6 +64721,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -63107,6 +64824,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; @@ -63151,7 +64877,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63223,6 +64953,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -63323,25 +65056,34 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; -static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; -static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; -static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; -static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; +static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; +static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; +static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { - { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, - { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, - { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, - { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, - { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, + { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, + { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, + { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -63375,7 +65117,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63447,6 +65193,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -63547,6 +65296,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; @@ -63587,7 +65345,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63659,6 +65421,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -63759,6 +65524,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; @@ -63799,7 +65573,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -63871,6 +65649,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -63971,6 +65752,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; @@ -64024,7 +65814,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64096,6 +65890,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -64196,6 +65993,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; @@ -64249,7 +66055,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64321,6 +66131,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -64421,6 +66234,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; @@ -64474,7 +66296,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64546,6 +66372,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -64646,6 +66475,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedNtHash_type}; @@ -64688,7 +66526,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_RandSeq_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64760,6 +66602,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -64860,6 +66705,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandSeq_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandSeq_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandSeq_type}; @@ -64909,7 +66763,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_AAHash_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -64981,6 +66839,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -65081,6 +66942,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__AAHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__AAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__AAHash_type}; @@ -65127,7 +66997,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeedAAHash_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65199,6 +67073,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -65299,6 +67176,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedAAHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedAAHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedAAHash_type}; @@ -65355,7 +67241,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65427,6 +67317,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -65527,6 +67420,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; @@ -65583,7 +67485,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65655,6 +67561,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -65755,6 +67664,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; @@ -65811,7 +67729,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -65883,6 +67805,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -65983,6 +67908,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; @@ -66041,7 +67975,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66113,6 +68051,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -66213,6 +68154,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; @@ -66271,7 +68221,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66343,6 +68297,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -66443,6 +68400,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; @@ -66501,7 +68467,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66573,6 +68543,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -66673,6 +68646,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; @@ -66728,7 +68710,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_MIBloomFilter8_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -66800,6 +68786,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -66900,6 +68889,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_type}; @@ -66955,7 +68953,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_MIBloomFilter16_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67027,6 +69029,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -67127,6 +69132,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_type}; @@ -67182,7 +69196,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_MIBloomFilter32_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67254,6 +69272,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -67354,6 +69375,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_type}; @@ -67407,7 +69437,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67479,6 +69513,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -67579,6 +69616,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t_type}; @@ -67619,7 +69665,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67691,6 +69741,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -67791,6 +69844,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_type}; @@ -67832,7 +69894,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_IndexlrRecordIterator_destructor_closure, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ +#else + (Py_ssize_t) 0, /* tp_vectorcall_offset */ +#endif (getattrfunc) 0, /* tp_getattr */ (setattrfunc) 0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -67904,6 +69970,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -68004,6 +70073,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Record (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_type}; @@ -68011,65 +70089,65 @@ SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Re /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ -static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); -} static void *_p_btllib__DataSinkTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSink *) x)); } static void *_p_btllib__DataSourceTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSource *) x)); } +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +} +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +} +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +} static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); } static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > *) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } +static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +} static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); } static swig_type_info _swigt__p_SwigPyObject = {"_p_SwigPyObject", "SwigPyObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0}; @@ -68079,9 +70157,9 @@ static swig_type_info _swigt__p_btllib__Barrier = {"_p_btllib__Barrier", "btllib static swig_type_info _swigt__p_btllib__BlindNtHash = {"_p_btllib__BlindNtHash", "btllib::BlindNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__BlindNtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__BloomFilter = {"_p_btllib__BloomFilter", "btllib::BloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__BloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__CString = {"_p_btllib__CString", "btllib::CString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter< unsigned char > *|btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *|btllib::CountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_int_t = {"_p_btllib__CountingBloomFilterT_unsigned_int_t", "btllib::CountingBloomFilter32 *|btllib::CountingBloomFilter< uint32_t > *|btllib::CountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter< unsigned short > *|btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *|btllib::CountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSink = {"_p_btllib__DataSink", "btllib::DataSink *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSink_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSource = {"_p_btllib__DataSource", "btllib::DataSource *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSource_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataStream = {"_p_btllib__DataStream", "btllib::DataStream *", 0, 0, (void*)0, 0}; @@ -68090,13 +70168,13 @@ static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t = {"_p_btllib_ static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__Flag = {"_p_btllib__IndexlrT_btllib__NtHash_t__Flag", "btllib::Indexlr< btllib::NtHash >::Flag *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__Flag_clientdata, 0}; static swig_type_info _swigt__p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator = {"_p_btllib__IndexlrT_btllib__NtHash_t__RecordIterator", "btllib::Indexlr< btllib::NtHash >::RecordIterator *", 0, 0, (void*)&SwigPyBuiltin__btllib__IndexlrT_btllib__NtHash_t__RecordIterator_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerBloomFilter = {"_p_btllib__KmerBloomFilter", "btllib::KmerBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerBloomFilter_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter< unsigned char > *|btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *|btllib::KmerCountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_int_t", "btllib::KmerCountingBloomFilter32 *|btllib::KmerCountingBloomFilter< uint32_t > *|btllib::KmerCountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter< unsigned short > *|btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_char_t = {"_p_btllib__MIBloomFilterT_unsigned_char_t", "btllib::MIBloomFilter< unsigned char > *|btllib::MIBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *|btllib::KmerCountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_char_t = {"_p_btllib__MIBloomFilterT_unsigned_char_t", "btllib::MIBloomFilter< uint8_t > *|btllib::MIBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_int_t = {"_p_btllib__MIBloomFilterT_unsigned_int_t", "btllib::MIBloomFilter< uint32_t > *|btllib::MIBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_short_t = {"_p_btllib__MIBloomFilterT_unsigned_short_t", "btllib::MIBloomFilter< unsigned short > *|btllib::MIBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Minimizer = {"_p_btllib__Minimizer", "std::vector< btllib::Minimizer >::value_type *|btllib::Minimizer *|btllib::HashedKmer *", 0, 0, (void*)&SwigPyBuiltin__btllib__Minimizer_clientdata, 0}; +static swig_type_info _swigt__p_btllib__MIBloomFilterT_unsigned_short_t = {"_p_btllib__MIBloomFilterT_unsigned_short_t", "btllib::MIBloomFilter< uint16_t > *|btllib::MIBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__MIBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__Minimizer = {"_p_btllib__Minimizer", "btllib::HashedKmer *|std::vector< btllib::Minimizer >::value_type *|btllib::Minimizer *", 0, 0, (void*)&SwigPyBuiltin__btllib__Minimizer_clientdata, 0}; static swig_type_info _swigt__p_btllib__NtHash = {"_p_btllib__NtHash", "btllib::NtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__NtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__RandSeq = {"_p_btllib__RandSeq", "btllib::RandSeq *", 0, 0, (void*)&SwigPyBuiltin__btllib__RandSeq_clientdata, 0}; static swig_type_info _swigt__p_btllib__Record = {"_p_btllib__Record", "btllib::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__Record_clientdata, 0}; @@ -68112,28 +70190,28 @@ static swig_type_info _swigt__p_char = {"_p_char", "std::basic_istream< char >:: static swig_type_info _swigt__p_char_type = {"_p_char_type", "char_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "void (*)(enum std::ios_base::event,std::ios_base &,int)|std::ios_base::event_callback", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "std::ios_base::event_callback|void (*)(enum std::ios_base::event,std::ios_base &,int)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__ios_base = {"_p_f_r_std__ios_base__r_std__ios_base", "std::ios_base &(*)(std::ios_base &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_fmtflags = {"_p_fmtflags", "fmtflags *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int32_t *|int_fast16_t *|int_fast32_t *|int_least32_t *|intptr_t *|int *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int_type = {"_p_int_type", "int_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_iostate = {"_p_iostate", "iostate *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_off_type = {"_p_off_type", "off_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_openmode = {"_p_openmode", "openmode *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0}; @@ -68143,8 +70221,8 @@ static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0 static swig_type_info _swigt__p_pos_type = {"_p_pos_type", "pos_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_sdsl__bit_vector = {"_p_sdsl__bit_vector", "sdsl::bit_vector *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_seekdir = {"_p_seekdir", "seekdir *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_short = {"_p_short", "int16_t *|int_least16_t *|short *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "int8_t *|int_fast8_t *|int_least8_t *|signed char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_t = {"_p_size_t", "std::streamsize *|size_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_state_type = {"_p_state_type", "state_type *", 0, 0, (void*)0, 0}; @@ -68152,39 +70230,39 @@ static swig_type_info _swigt__p_std__allocatorT_btllib__Minimizer_t = {"_p_std__ static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *|std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_unsigned_char_t = {"_p_std__allocatorT_unsigned_char_t", "std::vector< unsigned char >::allocator_type *|std::allocator< unsigned char > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_unsigned_int_t = {"_p_std__allocatorT_unsigned_int_t", "std::vector< unsigned int >::allocator_type *|std::allocator< unsigned int > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::allocator< uint64_t > *|std::vector< uint64_t >::allocator_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char > *|std::basic_ios< char,std::char_traits< char > > *|std::ios *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::basic_iostream< char > *|std::iostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char > *|std::basic_istream< char,std::char_traits< char > > *|std::istream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char > *|std::basic_ostream< char,std::char_traits< char > > *|std::ostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::vector< uint64_t >::allocator_type *|std::allocator< uint64_t > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > *|std::ios *|std::basic_ios< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::iostream *|std::basic_iostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > *|std::istream *|std::basic_istream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > *|std::ostream *|std::basic_ostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; static swig_type_info _swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t = {"_p_std__basic_streambufT_char_std__char_traitsT_char_t_t", "std::basic_streambuf< char,std::char_traits< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t = {"_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t", "std::basic_string< char,std::char_traits< char >,std::allocator< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__ios_base = {"_p_std__ios_base", "std::ios_base *", 0, 0, (void*)&SwigPyBuiltin__std__ios_base_clientdata, 0}; static swig_type_info _swigt__p_std__locale = {"_p_std__locale", "std::locale *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string_view = {"_p_std__string_view", "std::string_view *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t = {"_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t", "std::vector< btllib::Minimizer > *|std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t = {"_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t", "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *|std::vector< btllib::Minimizer > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Minimizer_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_double_std__allocatorT_double_t_t = {"_p_std__vectorT_double_std__allocatorT_double_t_t", "std::vector< double,std::allocator< double > > *|std::vector< double > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_double_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_int_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t = {"_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t", "btllib::SpacedSeedBlocks *|std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t = {"_p_std__vectorT_std__string_std__allocatorT_std__string_t_t", "std::vector< std::string,std::allocator< std::string > > *|std::vector< std::string > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_std__string_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t", "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *|std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t = {"_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t", "std::vector< unsigned char > *|std::vector< unsigned char,std::allocator< unsigned char > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *|btllib::SpacedSeedMonomers *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; -static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_ostream< char >::off_type *|std::basic_istream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_ostream< char >::pos_type *|std::basic_istream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t = {"_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t", "std::vector< unsigned char,std::allocator< unsigned char > > *|std::vector< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|btllib::SpacedSeedMonomers *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *|std::vector< uint64_t > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; +static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_istream< char >::off_type *|std::basic_ostream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_istream< char >::pos_type *|std::basic_ostream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)&SwigPyBuiltin__swig__SwigPyIterator_clientdata, 0}; static swig_type_info _swigt__p_traits_type = {"_p_traits_type", "traits_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|btllib::NTHASH_HASH_NUM_TYPE *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipelineId *|unsigned long *|btllib::PipeId *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint64_t *|uint_fast64_t *|uint_least64_t *|uint64_t *|uintmax_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "btllib::NTHASH_HASH_NUM_TYPE *|uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipeId *|btllib::PipelineId *|unsigned long *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|uint64_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { @@ -68347,19 +70425,19 @@ static swig_cast_info _swigc__p_char_type[] = { {&_swigt__p_char_type, 0, 0, 0} static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_enum_std__ios_base__event_r_std__ios_base_int__void[] = { {&_swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_fmtflags[] = { {&_swigt__p_fmtflags, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; @@ -68390,13 +70468,13 @@ static swig_cast_info _swigc__p_std__allocatorT_std__vectorT_unsigned_int_std__a static swig_cast_info _swigc__p_std__allocatorT_unsigned_char_t[] = { {&_swigt__p_std__allocatorT_unsigned_char_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_int_t[] = { {&_swigt__p_std__allocatorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_long_long_t[] = { {&_swigt__p_std__allocatorT_unsigned_long_long_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_streambufT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t[] = { {&_swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__locale[] = { {&_swigt__p_std__locale, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string_view[] = { {&_swigt__p_std__string_view, 0, 0, 0},{0, 0, 0, 0}}; @@ -68605,9 +70683,12 @@ extern "C" { #define SWIGRUNTIME_DEBUG #endif +#ifndef SWIG_INIT_CLIENT_DATA_TYPE +#define SWIG_INIT_CLIENT_DATA_TYPE void * +#endif SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { +SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) { size_t i; swig_module_info *module_head, *iter; int init; @@ -68790,220 +70871,6 @@ SWIG_PropagateClientData(void) { extern "C" { #endif - /* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - - /* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - - typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; - } swig_globalvar; - - typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; - } swig_varlinkobject; - - SWIGINTERN PyObject * - swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { -#if PY_VERSION_HEX >= 0x03000000 - return PyUnicode_InternFromString(""); -#else - return PyString_FromString(""); -#endif - } - - SWIGINTERN PyObject * - swig_varlink_str(swig_varlinkobject *v) { -#if PY_VERSION_HEX >= 0x03000000 - PyObject *str = PyUnicode_InternFromString("("); - PyObject *tail; - PyObject *joined; - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - tail = PyUnicode_FromString(var->name); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; - if (var->next) { - tail = PyUnicode_InternFromString(", "); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; - } - } - tail = PyUnicode_InternFromString(")"); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; -#else - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); -#endif - return str; - } - - SWIGINTERN void - swig_varlink_dealloc(swig_varlinkobject *v) { - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } - } - - SWIGINTERN PyObject * - swig_varlink_getattr(swig_varlinkobject *v, char *n) { - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); - } - return res; - } - - SWIGINTERN int - swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); - } - return res; - } - - SWIGINTERN PyTypeObject* - swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp = { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "swigvarlink", /* tp_name */ - sizeof(swig_varlinkobject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor) swig_varlink_dealloc, /* tp_dealloc */ - 0, /* tp_print */ - (getattrfunc) swig_varlink_getattr, /* tp_getattr */ - (setattrfunc) swig_varlink_setattr, /* tp_setattr */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc) swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ - 0, /* tp_del */ - 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0 /* tp_next */ -#endif - }; - varlink_type = tmp; - type_init = 1; - if (PyType_Ready(&varlink_type) < 0) - return NULL; - } - return &varlink_type; - } - - /* Create a variable linking object for use later */ - SWIGINTERN PyObject * - SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); - } - - SWIGINTERN void - SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - memcpy(gv->name, name, size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *globals = 0; - if (!globals) { - globals = SWIG_newvarlink(); - } - return globals; - } - /* ----------------------------------------------------------------------------- * constants/methods manipulation * ----------------------------------------------------------------------------- */ @@ -69032,15 +70899,12 @@ extern "C" { } } - /* -----------------------------------------------------------------------------*/ - /* Fix SwigMethods to carry the callback ptrs when needed */ - /* -----------------------------------------------------------------------------*/ + /* ----------------------------------------------------------------------------- + * Patch %callback methods' docstrings to hold the callback ptrs + * -----------------------------------------------------------------------------*/ SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, - swig_const_info *const_table, - swig_type_info **types, - swig_type_info **types_initial) { + SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) { size_t i; for (i = 0; methods[i].ml_name; ++i) { const char *c = methods[i].ml_doc; @@ -69048,7 +70912,7 @@ extern "C" { c = strstr(c, "swig_ptr: "); if (c) { int j; - swig_const_info *ci = 0; + const swig_const_info *ci = 0; const char *name = c + 10; for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, @@ -69080,68 +70944,13 @@ extern "C" { } } - /* ----------------------------------------------------------------------------- - * Method creation and docstring support functions - * ----------------------------------------------------------------------------- */ - - /* ----------------------------------------------------------------------------- - * Function to find the method definition with the correct docstring for the - * proxy module as opposed to the low-level API - * ----------------------------------------------------------------------------- */ - - SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name) { - /* Find the function in the modified method table */ - size_t offset = 0; - int found = 0; - while (SwigMethods_proxydocs[offset].ml_meth != NULL) { - if (strcmp(SwigMethods_proxydocs[offset].ml_name, name) == 0) { - found = 1; - break; - } - offset++; - } - /* Use the copy with the modified docstring if available */ - return found ? &SwigMethods_proxydocs[offset] : NULL; - } - - /* ----------------------------------------------------------------------------- - * Wrapper of PyInstanceMethod_New() used in Python 3 - * It is exported to the generated module, used for -fastproxy - * ----------------------------------------------------------------------------- */ - - SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { - if (PyCFunction_Check(func)) { - PyCFunctionObject *funcobj = (PyCFunctionObject *)func; - PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); - if (ml) - func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); - } -#if PY_VERSION_HEX >= 0x03000000 - return PyInstanceMethod_New(func); -#else - return PyMethod_New(func, NULL, NULL); -#endif - } - - /* ----------------------------------------------------------------------------- - * Wrapper of PyStaticMethod_New() - * It is exported to the generated module, used for -fastproxy - * ----------------------------------------------------------------------------- */ - - SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { - if (PyCFunction_Check(func)) { - PyCFunctionObject *funcobj = (PyCFunctionObject *)func; - PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); - if (ml) - func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); - } - return PyStaticMethod_New(func); - } - #ifdef __cplusplus } #endif + + + /* -----------------------------------------------------------------------------* * Partial Init method * -----------------------------------------------------------------------------*/ @@ -69291,7 +71100,6 @@ SWIG_init(void) { #endif } PyDict_SetItemString(md, "cvar", globals); - Py_DECREF(globals); SwigPyBuiltin_AddPublicSymbol(public_interface, "cvar"); SWIG_addvarlink(globals, "ios_base_boolalpha", Swig_var_ios_base_boolalpha_get, Swig_var_ios_base_boolalpha_set); SWIG_addvarlink(globals, "ios_base_dec", Swig_var_ios_base_dec_get, Swig_var_ios_base_dec_set); @@ -69334,97 +71142,97 @@ SWIG_init(void) { SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_binary_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_goodbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_fixed_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); if (PyType_Ready(builtin_pytype) < 0) { @@ -71168,6 +72976,8 @@ SWIG_init(void) { PyModule_AddObject(m, "IndexlrRecordIterator", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecordIterator"); d = md; + SWIG_Python_FixMethods(SwigMethods_proxydocs, swig_const_table, swig_types, swig_type_initial); + #if PY_VERSION_HEX >= 0x03000000 return m; #else From c82317a98b44b395687c612afe10ca07f1a4cc67 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 12:03:54 -0700 Subject: [PATCH 11/12] indexlr.cpp: update record during while loop --- recipes/indexlr.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes/indexlr.cpp b/recipes/indexlr.cpp index f8d5b5e5..547fe640 100644 --- a/recipes/indexlr.cpp +++ b/recipes/indexlr.cpp @@ -352,8 +352,8 @@ main(int argc, char* argv[]) bool(long_mode) ? OUTPUT_PERIOD_LONG : OUTPUT_PERIOD_SHORT; std::unique_ptr info_compiler(new std::thread([&]() { std::stringstream ss; - record = std::visit([](auto& ptr) { return ptr->read(); }, indexlr); - while (record) { + while ((record = + std::visit([](auto& ptr) { return ptr->read(); }, indexlr))) { if (bool(with_id) || (!bool(with_id) && !bool(with_bx))) { ss << record.id << '\t'; } @@ -399,7 +399,6 @@ main(int argc, char* argv[]) newstring.reserve(max_seen_output_size); ss.str(newstring); } - record = std::visit([](auto& ptr) { return ptr->read(); }, indexlr); } { const std::unique_lock lock(output_queue_mutex); From 6ec88cf8426c8f7683fa8e35ac4315de6ca671a9 Mon Sep 17 00:00:00 2001 From: jowong04 Date: Wed, 19 Jul 2023 12:19:21 -0700 Subject: [PATCH 12/12] indexlr: update wrappers --- wrappers/extra_common.i | 2 +- wrappers/python/btllib_wrap.cxx | 146 ++++++++++++++++---------------- 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/wrappers/extra_common.i b/wrappers/extra_common.i index 18e309f7..d86bdd1d 100644 --- a/wrappers/extra_common.i +++ b/wrappers/extra_common.i @@ -28,7 +28,7 @@ %rename (SeqReaderFlag) btllib::SeqReader::Flag; %rename (SeqReaderFormat) btllib::SeqReader::Format; %rename (SeqWriterFormat) btllib::SeqWriter::Format; -%rename (IndexlrRecord) btllib::Indexlr::Record; +%rename (IndexlrRecord) btllib::Record; %rename (IndexlrRecordIterator) btllib::Indexlr::RecordIterator; %rename (IndexlrFlag) btllib::Indexlr::Flag; diff --git a/wrappers/python/btllib_wrap.cxx b/wrappers/python/btllib_wrap.cxx index cd335cbf..d714dccd 100644 --- a/wrappers/python/btllib_wrap.cxx +++ b/wrappers/python/btllib_wrap.cxx @@ -27584,7 +27584,7 @@ SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ -SWIGINTERN int _wrap_new_Record__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; btllib::Record *result = 0 ; @@ -27598,7 +27598,7 @@ SWIGINTERN int _wrap_new_Record__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje } -SWIGINTERN int _wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; std::string arg2 ; @@ -27615,14 +27615,14 @@ SWIGINTERN int _wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Record" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IndexlrRecord" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "2"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "2"" of type '" "std::string""'"); } arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; @@ -27631,21 +27631,21 @@ SWIGINTERN int _wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "3"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "3"" of type '" "std::string""'"); } arg3 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Record" "', argument " "4"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_IndexlrRecord" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); { std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *ptr = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)0; int res = swig::asptr(swig_obj[4], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Record" "', argument " "5"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "5"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >""'"); } arg5 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; @@ -27658,29 +27658,29 @@ SWIGINTERN int _wrap_new_Record__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje } -SWIGINTERN int _wrap_new_Record(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_IndexlrRecord(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[6] = { 0 }; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Record")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Record", 0, 5, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrRecord")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_IndexlrRecord", 0, 5, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_Record__SWIG_0(self, argc, argv); + int retval = _wrap_new_IndexlrRecord__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 5) { - int retval = _wrap_new_Record__SWIG_1(self, argc, argv); + int retval = _wrap_new_IndexlrRecord__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Record'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IndexlrRecord'.\n" " Possible C/C++ prototypes are:\n" " btllib::Record::Record()\n" " btllib::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > >)\n"); @@ -27688,7 +27688,7 @@ SWIGINTERN int _wrap_new_Record(PyObject *self, PyObject *args, PyObject *kwargs } -SWIGINTERN PyObject *_wrap_Record_num_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; size_t arg2 ; @@ -27703,12 +27703,12 @@ SWIGINTERN PyObject *_wrap_Record_num_set(PyObject *self, PyObject *args) { swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_num_set" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_set" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Record_num_set" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_num_set" "', argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); if (arg1) (arg1)->num = arg2; @@ -27719,7 +27719,7 @@ SWIGINTERN PyObject *_wrap_Record_num_set(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_num_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; @@ -27727,10 +27727,10 @@ SWIGINTERN PyObject *_wrap_Record_num_get(PyObject *self, PyObject *args) { size_t result; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Record_num_get", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_num_get" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_get" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); result = ((arg1)->num); @@ -27741,7 +27741,7 @@ SWIGINTERN PyObject *_wrap_Record_num_get(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_id_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; std::string *arg2 = 0 ; @@ -27755,17 +27755,17 @@ SWIGINTERN PyObject *_wrap_Record_id_set(PyObject *self, PyObject *args) { swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_id_set" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_set" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Record_id_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Record_id_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -27779,7 +27779,7 @@ SWIGINTERN PyObject *_wrap_Record_id_set(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_id_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; @@ -27787,10 +27787,10 @@ SWIGINTERN PyObject *_wrap_Record_id_get(PyObject *self, PyObject *args) { std::string *result = 0 ; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Record_id_get", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_id_get" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_get" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); result = (std::string *) & ((arg1)->id); @@ -27801,7 +27801,7 @@ SWIGINTERN PyObject *_wrap_Record_id_get(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_barcode_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; std::string *arg2 = 0 ; @@ -27815,17 +27815,17 @@ SWIGINTERN PyObject *_wrap_Record_barcode_set(PyObject *self, PyObject *args) { swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_barcode_set" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_set" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Record_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Record_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -27839,7 +27839,7 @@ SWIGINTERN PyObject *_wrap_Record_barcode_set(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_barcode_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; @@ -27847,10 +27847,10 @@ SWIGINTERN PyObject *_wrap_Record_barcode_get(PyObject *self, PyObject *args) { std::string *result = 0 ; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Record_barcode_get", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_barcode_get" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_get" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); result = (std::string *) & ((arg1)->barcode); @@ -27861,7 +27861,7 @@ SWIGINTERN PyObject *_wrap_Record_barcode_get(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_readlen_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; size_t arg2 ; @@ -27876,12 +27876,12 @@ SWIGINTERN PyObject *_wrap_Record_readlen_set(PyObject *self, PyObject *args) { swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_readlen_set" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_set" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Record_readlen_set" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_readlen_set" "', argument " "2"" of type '" "size_t""'"); } arg2 = static_cast< size_t >(val2); if (arg1) (arg1)->readlen = arg2; @@ -27892,7 +27892,7 @@ SWIGINTERN PyObject *_wrap_Record_readlen_set(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_readlen_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; @@ -27900,10 +27900,10 @@ SWIGINTERN PyObject *_wrap_Record_readlen_get(PyObject *self, PyObject *args) { size_t result; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Record_readlen_get", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_readlen_get" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_get" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); result = ((arg1)->readlen); @@ -27914,7 +27914,7 @@ SWIGINTERN PyObject *_wrap_Record_readlen_get(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Record_minimizers_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *arg2 = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *) 0 ; @@ -27929,12 +27929,12 @@ SWIGINTERN PyObject *_wrap_Record_minimizers_set(PyObject *self, PyObject *args) swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_minimizers_set" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_set" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__Minimizer_std__allocatorT_btllib__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Record_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *""'"); } arg2 = reinterpret_cast< std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > * >(argp2); if (arg1) (arg1)->minimizers = *arg2; @@ -27945,7 +27945,7 @@ SWIGINTERN PyObject *_wrap_Record_minimizers_set(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_Record_minimizers_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; @@ -27953,10 +27953,10 @@ SWIGINTERN PyObject *_wrap_Record_minimizers_get(PyObject *self, PyObject *args) std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *result = 0 ; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Record_minimizers_get", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record_minimizers_get" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_get" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); result = (std::vector< btllib::Minimizer,std::allocator< btllib::Minimizer > > *)& ((arg1)->minimizers); @@ -27973,7 +27973,7 @@ SWIGINTERN PyObject *_wrap_Record_minimizers_get(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_Record___nonzero__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; @@ -27981,10 +27981,10 @@ SWIGINTERN PyObject *_wrap_Record___nonzero__(PyObject *self, PyObject *args) { bool result; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Record___nonzero__", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Record___nonzero__" "', argument " "1"" of type '" "btllib::Record const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord___nonzero__" "', argument " "1"" of type '" "btllib::Record const *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); result = (bool)((btllib::Record const *)arg1)->operator bool(); @@ -27997,17 +27997,17 @@ SWIGINTERN PyObject *_wrap_Record___nonzero__(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_Record(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Record *arg1 = (btllib::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Record", 0, 0, 0)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Record" "', argument " "1"" of type '" "btllib::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecord" "', argument " "1"" of type '" "btllib::Record *""'"); } arg1 = reinterpret_cast< btllib::Record * >(argp1); delete arg1; @@ -28018,9 +28018,9 @@ SWIGINTERN PyObject *_wrap_delete_Record(PyObject *self, PyObject *args) { } -SWIGPY_INQUIRY_CLOSURE(_wrap_Record___nonzero__) /* defines _wrap_Record___nonzero___inquiry_closure */ +SWIGPY_INQUIRY_CLOSURE(_wrap_IndexlrRecord___nonzero__) /* defines _wrap_IndexlrRecord___nonzero___inquiry_closure */ -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Record) /* defines _wrap_delete_Record_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecord) /* defines _wrap_delete_IndexlrRecord_destructor_closure */ SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); @@ -62707,19 +62707,19 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Minimizer_type = { SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Minimizer_type}; -static SwigPyGetSet Record_num_getset = { _wrap_Record_num_get, _wrap_Record_num_set }; -static SwigPyGetSet Record___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Record_minimizers_getset = { _wrap_Record_minimizers_get, _wrap_Record_minimizers_set }; -static SwigPyGetSet Record_readlen_getset = { _wrap_Record_readlen_get, _wrap_Record_readlen_set }; -static SwigPyGetSet Record_id_getset = { _wrap_Record_id_get, _wrap_Record_id_set }; -static SwigPyGetSet Record_barcode_getset = { _wrap_Record_barcode_get, _wrap_Record_barcode_set }; +static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; +static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; +static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; +static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; +static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Record_getset[] = { - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_num_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Record___dict___getset }, - { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_minimizers_getset }, - { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_readlen_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_id_getset }, - { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Record_barcode_getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, + { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, + { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, + { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -62738,7 +62738,7 @@ SwigPyBuiltin__btllib__Record_richcompare(PyObject *self, PyObject *other, int o } SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Record_methods[] = { - { "__nonzero__", _wrap_Record___nonzero__, METH_NOARGS, "" }, + { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; @@ -62750,10 +62750,10 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Record", /* tp_name */ + "btllib.IndexlrRecord", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Record_destructor_closure, /* tp_dealloc */ + _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ #if PY_VERSION_HEX < 0x030800b4 (printfunc) 0, /* tp_print */ #else @@ -62796,7 +62796,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Record, /* tp_init */ + _wrap_new_IndexlrRecord, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -62848,7 +62848,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Record_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_Record___nonzero___inquiry_closure, /* nb_nonzero */ + _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -71655,7 +71655,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Record'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecord'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -71663,8 +71663,8 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Record", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Record"); + PyModule_AddObject(m, "IndexlrRecord", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecord"); d = md; SWIG_addvarlink(globals, "BIT_MASKS", Swig_var_BIT_MASKS_get, Swig_var_BIT_MASKS_set); PyDict_SetItemString(md, "BIT_MASKS", PyObject_GetAttrString(globals, "BIT_MASKS"));