]> git.donarmstrong.com Git - mothur.git/blob - inputdata.h
created mothurOut class to handle logfiles
[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         ListVector* getListVector(string);  //pass the label you want
19         SharedListVector* getSharedListVector();
20         SharedListVector* getSharedListVector(string);  //pass the label you want
21         OrderVector* getOrderVector(); 
22         OrderVector* getOrderVector(string); //pass the label you want
23         SharedOrderVector* getSharedOrderVector();
24         SharedOrderVector* getSharedOrderVector(string);  //pass the label you want
25         SAbundVector* getSAbundVector();
26         SAbundVector* getSAbundVector(string);  //pass the label you want
27         RAbundVector* getRAbundVector();
28         RAbundVector* getRAbundVector(string);  //pass the label you want
29         vector<SharedRAbundVector*> getSharedRAbundVectors();
30         vector<SharedRAbundVector*> getSharedRAbundVectors(string);  //pass the label you want
31         
32 private:
33         string format;
34         ifstream fileHandle;
35         DataVector* input;
36         ListVector* list;
37         SharedListVector* SharedList;
38         OrderVector* output;
39         SharedOrderVector* SharedOrder;
40         SAbundVector* sabund;
41         RAbundVector* rabund;
42         map<string,int> orderMap;
43         string filename;
44         MothurOut* m;
45 };
46
47
48 #endif