Debian Codegraph @

atac-driver/libatac/atacMatchList.H

raw symbols SCIP
1 // This file is part of A2Amapper.
2 // Copyright (c) 2005 J. Craig Venter Institute
3 // Author: Brian Walenz
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received (LICENSE.txt) a copy of the GNU General Public
16 // License along with this program; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
19 #ifndef ATAC_MATCHLIST_H
20 #define ATAC_MATCHLIST_H
21
22 #include <string>
23 #include <map>
24 using namespace std;
25
26 #include "bio++.H"
27
28
29 class atacMatchList {
30 public:
31 atacMatchList();
32 ~atacMatchList();
33
34 void add(atacMatch &m);
35 //void delete();
36
37 uint32 numMatches(void) { return(_matchesLen); };
38 uint32 numberOfMatches(void) { return(_matchesLen); };
39
40 atacMatch *getMatch(uint32 i) { return(_matches + i); };
41 atacMatch *operator[](uint32 i) { return(_matches + i); };
42
43 private:
44 uint32 _matchesLen;
45 uint32 _matchesMax;
46 atacMatch *_matches;
47 };
48
49 #endif // ATAC_MATCHLIST_H