]> git.donarmstrong.com Git - mothur.git/blob - getcurrentcommand.h
added set.current and get.current commands and modified existing commands to update...
[mothur.git] / getcurrentcommand.h
1 #ifndef GETCURRENTCOMMAND_H
2 #define GETCURRENTCOMMAND_H
3
4 /*
5  *  getcurrentcommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 3/16/11.
9  *  Copyright 2011 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14
15 class GetCurrentCommand : public Command {
16
17         public:
18                 GetCurrentCommand(string);
19                 GetCurrentCommand();
20                 ~GetCurrentCommand();
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                 
30                 vector<string> outputNames;
31                 map<string, vector<string> > outputTypes;
32                 bool abort;
33         
34                 string clearTypes;
35                 vector<string> types;
36                 
37 };
38
39 #endif
40