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