Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

genome.h

00001 /***************************************************************************
00002                           genome.h  -  description
00003                              -------------------
00004     begin                : Sat Dec 8 2001
00005     copyright            : (C) 2001 by Rudiger Koch
00006     email                : rkoch@rkoch.org
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 
00018 #ifndef GENOME_H
00019 #define GENOME_H
00020 
00021 using namespace std;
00022 #include <string>
00023 #include <vector>
00024 #include <pair.h>
00025 
00026 #include <amygdala/genomehandler.h>
00027 
00035 class Genome {
00036 public: 
00037     Genome();
00038     ~Genome();
00039 
00046   void get(string uri);
00047 
00049   void submit(int score);
00050 
00054   void setHandler(GenomeHandler *gh);
00055 
00057   void parse();
00058 
00063   void Format(string format);
00064 
00065 protected: // Protected methods
00066 
00069   void getHttp(string URL);
00070 
00072   void getFile(string path);
00073 
00074 protected: // Protected attributes
00075 
00076     GenomeHandler* gHandler;
00077     unsigned int geneId;
00078     string genome;
00080     vector <pair <int, int> > chromosomes;
00081     string URL;
00082 };
00083 
00084 #endif

Generated on Wed Sep 4 02:30:35 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002