SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
refdict.hpp
1 
2 /*
3  * Copyright 2008,2009,2010,2011,2012 Stephan Ossowski, Korbinian Schneeberger,
4  * Felix Ott, Joerg Hagmann, Alf Scotland, Sebastian Bender
5  *
6  * This file is part of SHORE.
7  *
8  * SHORE is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * SHORE is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with SHORE. If not, see <http://www.gnu.org/licenses/>.
20  */
21 
23 
24 #include <string>
25 
27 #include "shore/datatype/coor.hpp"
29 
30 #include "shore/fmtio/text.hpp"
31 
32 namespace shore {
33 
38 {
39  private:
40 
41  enum Columns
42  {
43  COL_NUMID,
44  COL_SIZE,
45  COL_MD5,
46  COL_STRID,
47  COL_SUPP
48  };
49 
50  shore::row_reader m_reader;
51 
52  public:
53 
54  basic_refdict_reader(const std::string &fn);
55  bool next(refdict_entry &e);
56  bool next(shore::refseq_region &r);
57 };
58 
60 
62 
66 
68 
69 } // namespace shore
70 
71