BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 /**************************************************************************** 00002 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00003 The BioBhasha : The Biologist's Programming Language 00004 Version 1.0 (19th December 2001) 00005 Prasad, B.V.L.S. 00006 Contact: burrashiva@yahoo.com 00007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 00008 *****************************************************************************/ 00009 #ifndef BIOPDBSINGLECOMPND_H 00010 #define BIOPDBSINGLECOMPND_H 00011 00012 using namespace std; 00013 00014 #include <string> 00015 #include <vector> 00016 #include <fstream> 00017 #include <iostream> 00018 00019 class BioPdbSingleCompnd 00020 { 00021 int molId_; 00022 string molecule_; 00023 string fragment_; 00024 vector<char >chain_; 00025 string synonym_; 00026 vector< string > eCs_; 00027 string engineered_; 00028 string mutation_; 00029 string biologicalUnit_; 00030 string otherDetails_; 00031 00032 bool find(vector<string > , const string& ); 00033 friend bool operator >(const BioPdbSingleCompnd& , const BioPdbSingleCompnd&); 00034 friend bool operator <(const BioPdbSingleCompnd& , const BioPdbSingleCompnd&); 00035 friend bool operator ==(const BioPdbSingleCompnd& , const BioPdbSingleCompnd&); 00036 00037 00038 00039 public: 00040 BioPdbSingleCompnd(); 00041 BioPdbSingleCompnd(const string& ti_); 00042 void setPdbSingleCompnd(vector<string>); 00043 00044 int getMolId(); 00045 string getMolecule(); 00046 string getFragment(); 00047 string getEngineered(); 00048 string getEc(int); 00049 int getNumberOfEcs(); 00050 string getBiologicalUnit(); 00051 string getOtherDetails(); 00052 string getMutation(); 00053 char getChain(int); 00054 int getNumberOfChains(); 00055 string getSynonym(); 00056 bool findSingleCompnd(string); 00057 00058 00059 }; 00060 00061 #endif