TranscriptExon.h

Go to the documentation of this file.
00001 #ifndef TRANSCRIPTEXON_H
00002 #define TRANSCRIPTEXON_H
00003 
00004 #include <string>
00005 #include <vector>
00006 #include "Interval.h"
00007 
00012 class TranscriptExon {
00013    public:
00014       TranscriptExon() : exons() { }
00018       TranscriptExon(const string& exstr);
00019       friend ostream& operator<<(ostream &ous, const TranscriptExon &exn);
00020 
00021    protected: 
00022       vector<Interval> exons;
00023 };
00024 
00029 class CDSExon : public TranscriptExon {
00030    public:
00031       CDSExon() : TranscriptExon() { }
00037       CDSExon(const string& exstr) : TranscriptExon(exstr) { }
00041       vector<pair<int,int> > intronloc() const;
00047       vector<int> intronlocCDS() const;
00048 };
00049 
00050 #endif

Generated on Wed Aug 10 11:56:53 2011 for Softwares from Orpara by  doxygen 1.5.6