From a012d9aed590323c64ed8437c21b113343ad3fb3 Mon Sep 17 00:00:00 2001 From: Kevin Murray Date: Tue, 24 Mar 2015 10:06:45 +1100 Subject: [PATCH 1/2] Add n_tables accessor to Hashbits Direct port from CountingHash --- lib/hashbits.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/hashbits.hh b/lib/hashbits.hh index cd9f42b914..bafdb88467 100644 --- a/lib/hashbits.hh +++ b/lib/hashbits.hh @@ -68,11 +68,17 @@ public: } + // Accessors for protected/private table info members std::vector get_tablesizes() const { return _tablesizes; } + const size_t n_tables() const + { + return _n_tables; + } + virtual void save(std::string); virtual void load(std::string); From 74bb6379a8738ea391aaf0631dba2a6a91edf1ca Mon Sep 17 00:00:00 2001 From: Kevin Murray Date: Tue, 24 Mar 2015 10:09:33 +1100 Subject: [PATCH 2/2] Add #880 to changelog --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index a86b4e12dc..9577c0c741 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-03-28 Kevin Murray + + * lib/hashbits.hh: Add Hashbits::n_tables() accessor + 2015-03-27 Michael R. Crusoe * lib/read_parsers.{cc,hh}: Obfuscate SeqAn SequenceStream objects with a