]> git.donarmstrong.com Git - mothur.git/blob - inputdata.h
changed heatmap and venn command to use vector of sharedrabunds instead of order...
[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 using namespace std;
12
13 class InputData {
14         
15 public:
16         InputData(string, string);
17         InputData(string, string, string);
18         ~InputData();
19         ListVector* getListVector();
20         SharedListVector* getSharedListVector();
21         OrderVector* getOrderVector();
22         SharedOrderVector* getSharedOrderVector();
23         SAbundVector* getSAbundVector();
24         RAbundVector* getRAbundVector();
25         vector<SharedRAbundVector*> getSharedRAbundVectors();
26         
27 private:
28         string format;
29         ifstream fileHandle;
30         DataVector* input;
31         ListVector* list;
32         SharedListVector* SharedList;
33         OrderVector* output;
34         SharedOrderVector* SharedOrder;
35         SAbundVector* sabund;
36         RAbundVector* rabund;
37         map<string,int> orderMap;
38 };
39
40
41 #endif