]> git.donarmstrong.com Git - mothur.git/blob - inputdata.h
working on pam
[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 #include "sharedrabundfloatvector.h"
10
11
12 class InputData {
13         
14 public:
15         InputData(string, string);
16         InputData(string, string, string);
17         ~InputData();
18         ListVector* getListVector();
19         ListVector* getListVector(string);  //pass the label you want
20         ListVector* getListVector(string, bool);  //pass the label you want, reset filepointer
21         SharedListVector* getSharedListVector();
22         SharedListVector* getSharedListVector(string);  //pass the label you want
23         OrderVector* getOrderVector(); 
24         OrderVector* getOrderVector(string); //pass the label you want
25         SharedOrderVector* getSharedOrderVector();
26         SharedOrderVector* getSharedOrderVector(string);  //pass the label you want
27         SAbundVector* getSAbundVector();
28         SAbundVector* getSAbundVector(string);  //pass the label you want
29         RAbundVector* getRAbundVector();
30         RAbundVector* getRAbundVector(string);  //pass the label you want
31         vector<SharedRAbundVector*> getSharedRAbundVectors();
32         vector<SharedRAbundVector*> getSharedRAbundVectors(string);  //pass the label you want
33         vector<SharedRAbundFloatVector*> getSharedRAbundFloatVectors();
34         vector<SharedRAbundFloatVector*> getSharedRAbundFloatVectors(string);  //pass the label you want
35         
36 private:
37         string format;
38         ifstream fileHandle;
39         DataVector* input;
40         ListVector* list;
41         SharedListVector* SharedList;
42         OrderVector* output;
43         SharedOrderVector* SharedOrder;
44         SAbundVector* sabund;
45         RAbundVector* rabund;
46         map<string,int> orderMap;
47         string filename;
48         MothurOut* m;
49 };
50
51
52 #endif