BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioMultiplePubmed.h
Go to the documentation of this file.
00001 /****************************************************************************
00002 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00003 The BioBhasha : The Biologist's Programming Language 
00004 Version 1.0 (19th December 2001)
00005 Dr. Prasad, B.V.L.S.
00006 Contact: prasadbvls@helixgenomics.com
00007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00008 *****************************************************************************/
00009 #ifndef BIOMULTIPLEPUBMED_H
00010 #define BIOMULTIPLEPUBMED_H
00011 
00012 #include <string>
00013 #include <vector>
00014 #include <iostream>
00015 #include <cstdio>
00016 #include <cstdlib>
00017 #include "BioPubmed.h"
00018 
00019 using namespace std;
00020 
00021 class BioMultiplePubmed 
00022 {
00023 
00024         vector <BioPubmed> multiPubmed_;
00025         public:
00026                 BioMultiplePubmed();
00027                 BioMultiplePubmed(const string&);
00028     
00029     long getNumberOfEntries();
00030     BioPubmed getEntry(unsigned long);
00031     BioPubmed getEntry(string &);    
00032 
00033     friend BioMultiplePubmed operator +=(BioMultiplePubmed &,BioPubmed);
00034     friend BioMultiplePubmed operator +(BioMultiplePubmed,BioPubmed);
00035     friend BioMultiplePubmed operator +(BioMultiplePubmed&,BioMultiplePubmed);
00036     friend BioMultiplePubmed operator +(BioPubmed,BioPubmed);
00037                 void showPubmed(string,ostream & =cout);    
00038                 void showPubmed(long,ostream & =cout);
00039 
00040     
00041     void pushEntry(BioPubmed);
00042 };
00043 
00044 
00045 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines