|
MASA-Core
|
00001 /******************************************************************************* 00002 * 00003 * Copyright (c) 2010-2015 Edans Sandes 00004 * 00005 * This file is part of MASA-Core. 00006 * 00007 * MASA-Core is free software: you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation, either version 3 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * MASA-Core is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with MASA-Core. If not, see <http://www.gnu.org/licenses/>. 00019 * 00020 ******************************************************************************/ 00021 00022 #ifndef SEQUENCEINFO_HPP_ 00023 #define SEQUENCEINFO_HPP_ 00024 00025 #include <string> 00026 using namespace std; 00027 00028 class SequenceInfo { 00029 public: 00030 SequenceInfo(); 00031 00032 bool isEqual( const SequenceInfo* other ) const; 00033 00034 string getDescription() const; 00035 void setDescription(string description); 00036 string getAccession() const; 00037 string getFilename() const; 00038 void setFilename(string filename); 00039 string getHash() const; 00040 void setHash(string hash); 00041 int getSize() const; 00042 void setSize(int size); 00043 int getType() const; 00044 void setType(int type); 00045 char* getData() const; 00046 void setData(char* data); 00047 int getIndex() const; 00048 void setIndex(int index); 00049 00050 private: 00051 string description; 00052 int index; 00053 int type; 00054 int size; 00055 string hash; 00056 char* data; 00057 string filename; 00058 string accession; 00059 }; 00060 00061 #endif /* SEQUENCEINFO_HPP_ */
1.7.6.1