BioInt
1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
|
00001 /*************************************************************************** 00002 BioSwissProtCc.h - description 00003 ------------------- 00004 begin : Fri May 14 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 BIOSISSPROTCC_H 00018 #define BIOSISSPROTCC_H 00019 00020 using namespace std; 00021 00022 #include <iostream> 00023 #include <string> 00024 #include <iomanip> 00025 #include <sstream> 00026 #include <fstream> 00027 #include <vector> 00028 00029 #include "BioSwissProtCcAllergen.h" 00030 #include "BioSwissProtCcAlternativeProducts.h" 00031 #include "BioSwissProtCcBioTechnology.h" 00032 #include "BioSwissProtCcCatalyticActivity.h" 00033 #include "BioSwissProtCcCaution.h" 00034 #include "BioSwissProtCcCoFactor.h" 00035 #include "BioSwissProtCcDatabase.h" 00036 #include "BioSwissProtCcDevelopmentalStage.h" 00037 #include "BioSwissProtCcDisease.h" 00038 #include "BioSwissProtCcDomain.h" 00039 #include "BioSwissProtCcFunction.h" 00040 #include "BioSwissProtCcEnzymeRegulation.h" 00041 #include "BioSwissProtCcInduction.h" 00042 #include "BioSwissProtCcMassSpectrometry.h" 00043 #include "BioSwissProtCcMiscellaneous.h" 00044 #include "BioSwissProtCcPathWay.h" 00045 #include "BioSwissProtCcPharmaceutical.h" 00046 #include "BioSwissProtCcPolymorphism.h" 00047 #include "BioSwissProtCcPtm.h" 00048 #include "BioSwissProtCcRnaEditing.h" 00049 #include "BioSwissProtCcSubCellularLocation.h" 00050 #include "BioSwissProtCcSubUnit.h" 00051 #include "BioSwissProtCcSimilarity.h" 00052 #include "BioSwissProtCcTissueSpecificity.h" 00053 00054 class BioSwissProtCc 00055 { 00056 vector<BioSwissProtCcAllergen> allergen_; 00057 vector<BioSwissProtCcAlternativeProducts> alternativeproducts_; 00058 vector<BioSwissProtCcBioTechnology> biotechnology_; 00059 vector<BioSwissProtCcCatalyticActivity> catalyticactivity_; 00060 vector<BioSwissProtCcCaution> caution_; 00061 vector<BioSwissProtCcCoFactor> cofactor_; 00062 vector<BioSwissProtCcDatabase> database_; 00063 vector<BioSwissProtCcDevelopmentalStage> developmentalstage_; 00064 vector<BioSwissProtCcDisease> disease_; 00065 vector<BioSwissProtCcDomain> domain_; 00066 vector<BioSwissProtCcFunction> function_; 00067 vector<BioSwissProtCcEnzymeRegulation> enzymeregulation_; 00068 vector<BioSwissProtCcInduction> induction_; 00069 vector<BioSwissProtCcMassSpectrometry> massspectrometry_; 00070 vector<BioSwissProtCcMiscellaneous> miscellaneous_; 00071 vector<BioSwissProtCcPathWay> pathway_; 00072 vector<BioSwissProtCcPharmaceutical> pharmaceutical_; 00073 vector<BioSwissProtCcPolymorphism> polymorphism_; 00074 vector<BioSwissProtCcPtm> ptm_; 00075 vector<BioSwissProtCcRnaEditing> rnaediting_; 00076 vector<BioSwissProtCcSubCellularLocation> subcellularlocation_; 00077 vector<BioSwissProtCcSubUnit> subunit_; 00078 vector<BioSwissProtCcSimilarity> similarity_; 00079 vector<BioSwissProtCcTissueSpecificity> tissuespecificity_; 00080 00081 void alignCc(string,ostream & = cout); 00082 00083 friend bool operator >(const BioSwissProtCc& , const BioSwissProtCc&); 00084 friend bool operator <(const BioSwissProtCc& , const BioSwissProtCc&); 00085 friend bool operator ==(const BioSwissProtCc& , const BioSwissProtCc&); 00086 00087 public : 00088 BioSwissProtCc(); 00089 BioSwissProtCc(const string &); 00090 void setCc(vector <string>); 00091 00092 int getNumberOfCcAllergens(); 00093 BioSwissProtCcAllergen getCcAllergen(unsigned int); 00094 00095 int getNumberOfCcAlternativeProducts(); 00096 BioSwissProtCcAlternativeProducts getCcAlternativeProducts(unsigned int); 00097 00098 int getNumberOfCcBioTechnologies(); 00099 BioSwissProtCcBioTechnology getCcBioTechnology(unsigned int); 00100 00101 int getNumberOfCcCatalyticActivities(); 00102 BioSwissProtCcCatalyticActivity getCcCatalyticActivity(unsigned int); 00103 00104 int getNumberOfCcCautions(); 00105 BioSwissProtCcCaution getCcCaution(unsigned int); 00106 00107 int getNumberOfCcCoFactors(); 00108 BioSwissProtCcCoFactor getCcCoFactor(unsigned int); 00109 00110 int getNumberOfCcDatabases(); 00111 BioSwissProtCcDatabase getCcDatabase(unsigned int); 00112 00113 int getNumberOfCcDevelopmentalStages(); 00114 BioSwissProtCcDevelopmentalStage getCcDevelopmentalStage(unsigned int); 00115 00116 int getNumberOfCcDiseases(); 00117 BioSwissProtCcDisease getCcDisease(unsigned int); 00118 00119 int getNumberOfCcDomains(); 00120 BioSwissProtCcDomain getCcDomain(unsigned int); 00121 00122 int getNumberOfCcEnzymeRegulations(); 00123 BioSwissProtCcEnzymeRegulation getCcEnzymeRegulation(unsigned int); 00124 00125 int getNumberOfCcFunctions(); 00126 BioSwissProtCcFunction getCcFunction(unsigned int); 00127 00128 int getNumberOfCcInductions(); 00129 BioSwissProtCcInduction getCcInduction(unsigned int); 00130 00131 int getNumberOfCcMassSpectrometries(); 00132 BioSwissProtCcMassSpectrometry getCcMassSpectrometry(unsigned int); 00133 00134 int getNumberOfCcMiscellaneous(); 00135 BioSwissProtCcMiscellaneous getCcMiscellaneous(unsigned int); 00136 00137 int getNumberOfCcPathWays(); 00138 BioSwissProtCcPathWay getCcPathWay(unsigned int); 00139 00140 int getNumberOfCcPharmaceuticals(); 00141 BioSwissProtCcPharmaceutical getCcPharmaceutical(unsigned int); 00142 00143 int getNumberOfCcPolymorphisms(); 00144 BioSwissProtCcPolymorphism getCcPolymorphism(unsigned int); 00145 00146 int getNumberOfCcPtms(); 00147 BioSwissProtCcPtm getCcPtm(unsigned int); 00148 00149 int getNumberOfCcRnaEditings(); 00150 BioSwissProtCcRnaEditing getCcRnaEditing(unsigned int); 00151 00152 int getNumberOfCcSimilarities(); 00153 BioSwissProtCcSimilarity getCcSimilarity(unsigned int); 00154 00155 int getNumberOfCcSubCellularLocations(); 00156 BioSwissProtCcSubCellularLocation getCcSubCellularLocation(unsigned int); 00157 00158 int getNumberOfCcSubUnits(); 00159 BioSwissProtCcSubUnit getCcSubUnit(unsigned int); 00160 00161 int getNumberOfCcTissueSpecificities(); 00162 BioSwissProtCcTissueSpecificity getCcTissueSpecificity(unsigned int); 00163 00164 void showCc(ostream & = cout); 00165 // friend ostream & operator << (ostream &,BioSwissProtCc &); 00166 }; 00167 00168 00169 00170 #endif 00171 00172 00173 00174