Commit 1be4ab03 authored by Mikael Salson's avatar Mikael Salson

WindowsStorage: Provide access to iterators so that we can traverse the...

WindowsStorage: Provide access to iterators so that we can traverse the windows from outside WindowsStorage
parent 272347d0
......@@ -15,6 +15,14 @@ list<pair <junction, size_t> > &WindowsStorage::getSortedList() {
return sort_all_windows;
}
map<junction, BinReadStorage>::iterator WindowsStorage::begin() {
return seqs_by_window.begin();
}
map<junction, BinReadStorage>::iterator WindowsStorage::end() {
return seqs_by_window.end();
}
string WindowsStorage::getLabel(junction window) {
if (windows_labels.find(window) == windows_labels.end())
......
......@@ -57,6 +57,9 @@ class WindowsStorage {
* or NULL if the window doesn't exist.
*/
Germline *getGermline(junction window);
map<junction, BinReadStorage>::iterator begin();
map<junction, BinReadStorage>::iterator end();
JsonList statusToJson(junction window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment