]> git.donarmstrong.com Git - mothur.git/blob - inputdata.h
fixed some bugs
[mothur.git] / inputdata.h
1 #ifndef INPUTDATA_H
2 #define INPUTDATA_H
3
4 #include "mothur.h"
5 #include "ordervector.hpp"
6 #include "sharedlistvector.h"
7 #include "sharedordervector.h"
8 #include "listvector.hpp"
9
10
11 class InputData {
12         
13 public:
14         InputData(string, string);
15         InputData(string, string, string);
16         ~InputData();
17         ListVector* getListVector();
18         SharedListVector* getSharedListVector();
19         OrderVector* getOrderVector();
20         SharedOrderVector* getSharedOrderVector();
21         SAbundVector* getSAbundVector();
22         RAbundVector* getRAbundVector();
23         vector<SharedRAbundVector*> getSharedRAbundVectors();
24         
25 private:
26         string format;
27         ifstream fileHandle;
28         DataVector* input;
29         ListVector* list;
30         SharedListVector* SharedList;
31         OrderVector* output;
32         SharedOrderVector* SharedOrder;
33         SAbundVector* sabund;
34         RAbundVector* rabund;
35         map<string,int> orderMap;
36 };
37
38
39 #endif