BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 #ifndef BIOSWPTFTKSINGLECHAIN_H 00002 #define BIOSWPTFTKSINGLECHAIN_H 00003 00004 #include <iostream> 00005 #include <string> 00006 #include <fstream> 00007 #include "BioProteinSequence.h" 00008 00009 using namespace std; 00010 00011 class BioSwptFTKSingleChain 00012 { 00013 int from_,to_; 00014 string desc_; 00015 bool startPartial_, endPartial_; 00016 public: 00017 BioSwptFTKSingleChain(); 00018 BioSwptFTKSingleChain(const string & fn); 00019 00020 void setSwptFTKSingleChain(string &); 00021 int getStartingPosition(); 00022 int getEndingPosition(); 00023 string getDescription(); 00024 bool findChain(const string&); 00025 bool findPartial(); 00026 string getSequence(BioProteinSequence &); 00027 private: 00028 00029 00030 friend bool operator >(const BioSwptFTKSingleChain& , const BioSwptFTKSingleChain&); 00031 friend bool operator <(const BioSwptFTKSingleChain& , const BioSwptFTKSingleChain&); 00032 friend bool operator ==(const BioSwptFTKSingleChain& , const BioSwptFTKSingleChain&); 00033 00034 00035 }; 00036 00037 00038 #endif