MDA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Sequence_Interface.hpp
1 /*
2  * Sequence_Interface.hpp
3  *
4  * Created on: Jun 10, 2013
5  * Author: Carsten Kemena
6  *
7  * This file is part of MDAT.
8  *
9  * MDAT is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * MDAT is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with MDAT. If not, see <http://www.gnu.org/licenses/>.
21  *
22  */
23 
24 #ifndef SEQUENCE_INTERFACE_HPP_
25 #define SEQUENCE_INTERFACE_HPP_
26 
27 #include <string>
28 
29 namespace MDAT
30 {
31 
32 
34 {
35 
36 public:
37  virtual ~Sequence_Interface();
38 
39  virtual const std::string & name() const =0;
40  virtual const std::string &sequence() const =0;
41  virtual const std::string & comment() const =0;
42  virtual size_t size() const =0;
43  virtual size_t ungapped_size() const =0;
44  virtual size_t id() const =0;
45  virtual void id(size_t val) =0;
46  virtual void name(const std::string &name) = 0;
47 
48 
49 };
50 
51 } // namespace MDAT
52 
53 #endif /* SEQUENCE_INTERFACE_HPP_ */