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