BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 /*************************************************************************** 00002 BioEmblSingleDr.h - description 00003 ------------------- 00004 begin : Mon May 31 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 BIOEMBLSINGLEDR_H 00018 #define BIOEMBLSINGLEDR_H 00019 00020 using namespace std; 00021 #include <string> 00022 #include <iostream> 00023 00024 class BioEmblSingleDr 00025 { 00026 friend bool operator <(const BioEmblSingleDr& , const BioEmblSingleDr&); 00027 friend bool operator >(const BioEmblSingleDr& , const BioEmblSingleDr&); 00028 friend bool operator ==(const BioEmblSingleDr& , const BioEmblSingleDr&); 00029 string database_,primaryId_,secondaryId_; 00030 public: 00031 BioEmblSingleDr(); 00032 BioEmblSingleDr(const string&); 00033 00034 void setSingleDr(const string& ); 00035 00036 string getDataBaseName(); 00037 string getPrimaryIdentifier(); 00038 string getSecondaryIdentifier(); 00039 void showSingleDr(ostream & = cout); 00040 bool findSingleDr(const string&); 00041 }; 00042 00043 #endif 00044