BioInt  1.02.00
BioInt: An integrative biological object-oriented application framework and interpreter
BioMultipleFasta.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 Prasad, B.V.L.S.
00006 Contact: burrashiva@yahoo.com
00007 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
00008 *****************************************************************************/
00009 #ifndef BIOMULTIPLEFASTA_H
00010 #define BIOMULTIPLEFASTA_H
00011 
00012 #include <string>
00013 #include "BioFasta.h"
00014 #include <vector>
00015 #include <algorithm>
00016 
00017 class BioMultipleFasta
00018 {
00019         vector<BioFasta>multipleFasta_;
00020    
00021         public:
00022 
00023   BioMultipleFasta();
00024         BioMultipleFasta(const string& );
00025         BioMultipleFasta(vector<BioFasta>);
00026         ~BioMultipleFasta();
00027 
00028   long getNumberOfEntries();
00029   BioFasta getEntry(unsigned long);
00030 
00031   bool find( unsigned long i, const string& );
00032 
00033   friend BioMultipleFasta operator+= (BioMultipleFasta& , BioFasta );
00034   friend BioMultipleFasta operator+( BioMultipleFasta , BioFasta& );
00035   friend BioMultipleFasta operator+( BioFasta&, BioFasta&);
00036 
00037   void pushEntry(BioFasta bf);
00038   void showInMultipleFasta(ostream & = cout);
00039   BioMultipleFasta getUniqueEntries();
00040   long getNumberOfUniqueEntries();
00041   void removeEntry(unsigned long x);
00042   void replaceEntry(unsigned long x, BioFasta bf);
00043 
00044 };
00045 
00046 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines