BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioSwptFTKSingleBinding.h
Go to the documentation of this file.
00001 #ifndef BIOSWPTFTKSINGLEBINDING_H
00002 #define BIOSWPTFTKSINGLEBINDING_H
00003 
00004 #include <iostream>
00005 #include <string>
00006 #include <fstream>
00007 #include "BioProteinSequence.h"
00008 
00009 using namespace std;
00010 
00011 class BioSwptFTKSingleBinding
00012 {
00013         int from_,to_;
00014         string desc_;
00015     public:
00016         BioSwptFTKSingleBinding();
00017         BioSwptFTKSingleBinding(const string & fn);
00018         
00019         void setSwptFTKSingleBinding(string &);
00020         int getStartingPosition();
00021         int getEndingPosition();
00022         string getDescription();
00023   bool findBinding(const string&);
00024   string getSequence(BioProteinSequence &);  
00025 private:                
00026                         
00027                         
00028 friend bool operator >(const BioSwptFTKSingleBinding& , const BioSwptFTKSingleBinding&);
00029 friend bool operator <(const BioSwptFTKSingleBinding& , const BioSwptFTKSingleBinding&);
00030 friend bool operator ==(const BioSwptFTKSingleBinding& , const BioSwptFTKSingleBinding&);
00031                         
00032                         
00033 };                       
00034                         
00035                         
00036 #endif                
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines