]> git.donarmstrong.com Git - mothur.git/blob - getcommandinfocommand.h
added getCommandInfoCommand for gui
[mothur.git] / getcommandinfocommand.h
1 #ifndef GETCOMMANDINFOCOMMAND_H
2 #define GETCOMMANDINFOCOMMAND_H
3
4 /*
5  *  getcommandinfo.h
6  *  Mothur
7  *
8  *  Created by westcott on 4/6/11.
9  *  Copyright 2011 Schloss Lab. All rights reserved.
10  *
11  */
12
13
14
15 #include "command.hpp"
16 #include "commandfactory.hpp"
17
18 /**********************************************************/
19
20 class GetCommandInfoCommand : public Command {
21         
22 public:
23         GetCommandInfoCommand(string);
24         GetCommandInfoCommand() { abort = true; calledHelp = true; setParameters(); }
25         ~GetCommandInfoCommand(){}
26         
27         vector<string> setParameters();
28         string getCommandName()                 { return "get.commandinfo";             }
29         string getCommandCategory()             { return "Hidden";                              }
30         string getHelpString(); 
31         
32         int execute(); 
33         void help() { m->mothurOut(getHelpString()); }  
34         
35 private:
36         CommandFactory* commandFactory;
37         string output;
38         bool abort;
39         vector<string> outputNames;
40         
41         int getInfo(vector<CommandParameter>, vector<string>&, vector<string>&, vector<string>&, vector<string>&, vector<string>&, map<string, string>&);
42
43         
44         
45 };
46
47 /**********************************************************/
48
49 #endif
50