]> git.donarmstrong.com Git - mothur.git/blob - readnexus.h
6cd49733fe4a3a47ffe1a07918b1887153038151
[mothur.git] / readnexus.h
1 #ifndef READNEXUS_H
2 #define READNEXUS_H
3
4 /*
5  *  readnuxus.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 4/22/09.
9  *  Copyright 2009 __MyCompanyName__. All rights reserved.
10  *
11  */
12 using namespace std;
13
14 #include "globaldata.hpp"
15 #include "sequencedb.h"
16 #include "mothur.h"
17
18 /**********************************************************************************/
19
20 class ReadNexus {
21
22         public:
23                 ReadNexus(string);
24                 ~ReadNexus();
25                 void read();
26                 SequenceDB* getDB();            
27         
28         private:
29                 GlobalData* globaldata;
30                 string nexusFile;
31                 ifstream filehandle;
32                 SequenceDB sequencedb;
33                 int readOk; // readOk = 0 means success, readOk = 1 means error(s).
34                 
35                         
36 };
37
38 #endif