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