BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 /*************************************************************************** 00002 BioEmblSingleAs.h - description 00003 ------------------- 00004 begin : Tue Jun 1 2004 00005 copyright : (C) 2004 by Helix Team 00006 email : parisodhana@helixgenomics.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 #ifndef BIOEMBLSINGLEAS_H 00018 #define BIOEMBLSINGLEAS_H 00019 00020 using namespace std; 00021 #include <string> 00022 #include <iostream> 00023 00024 class BioEmblSingleAs 00025 { 00026 friend bool operator <(const BioEmblSingleAs& , const BioEmblSingleAs&); 00027 friend bool operator >(const BioEmblSingleAs& , const BioEmblSingleAs&); 00028 friend bool operator ==(const BioEmblSingleAs& , const BioEmblSingleAs&); 00029 string tpaSpan_,primaryId_,primarySpan_; 00030 bool comp_; 00031 public: 00032 BioEmblSingleAs(); 00033 BioEmblSingleAs(const string&); 00034 00035 void setSingleAs(const string& ); 00036 00037 string getTpaSpan(); 00038 string getPrimaryIdentifier(); 00039 string getPrimarySpan(); 00040 bool findComplement(); 00041 00042 void showSingleAs(ostream & = cout); 00043 }; 00044 #endif 00045