]> git.donarmstrong.com Git - mothur.git/blob - getgroupcommand.h
added pipeline commands which involved change to command factory and command class...
[mothur.git] / getgroupcommand.h
1 #ifndef GETGROUPCOMMAND_H
2 #define GETGROUPCOMMAND_H
3
4 /*
5  *  getgroupcommand.h
6  *  Mothur
7  *
8  *  Created by Thomas Ryabin on 2/2/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "globaldata.hpp"
15
16 class GetgroupCommand : public Command {
17 public:
18         GetgroupCommand(string);
19         GetgroupCommand();
20         ~GetgroupCommand();
21         vector<string> getRequiredParameters();
22         vector<string> getValidParameters();
23         vector<string> getRequiredFiles();
24         map<string, vector<string> > getOutputFiles() { return outputTypes; }
25         int execute();
26         void help();
27         
28 private:
29         GlobalData* globaldata;
30         GroupMap* groupMap;
31         string outputFile, sharedfile;
32         vector<string> outputNames;
33         map<string, vector<string> > outputTypes;
34         ofstream out;
35         ifstream in;
36         bool abort;
37
38 };
39
40 #endif