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