Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit 28614c98 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud
Browse files

read_storage: getBin(): access to any bin

parent e977c03c
......@@ -79,6 +79,10 @@ void BinReadStorage::add(Sequence &s) {
nb_inserted++;
}
list<Sequence> BinReadStorage::getBin(size_t bin) const{
return bins[bin];
}
size_t BinReadStorage::getNbBins() const {
return nb_bins;
}
......
......@@ -86,6 +86,8 @@ public:
void add(Sequence &s);
list<Sequence> getBin(size_t bin) const;
/**
* @return the number of bins requested by the used. Note that an additional
* bin is created for the values greater than the provided max value.
......
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