]> git.donarmstrong.com Git - mothur.git/blob - getcommandinfocommand.h
added citation function to commands
[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         string getCitation() { return "no citation"; }
32         
33         int execute(); 
34         void help() { m->mothurOut(getHelpString()); }  
35         
36 private:
37         CommandFactory* commandFactory;
38         string output;
39         bool abort;
40         vector<string> outputNames;
41         
42         int getInfo(vector<CommandParameter>, vector<string>&, vector<string>&, vector<string>&, vector<string>&, vector<string>&, map<string, string>&);
43
44         
45         
46 };
47
48 /**********************************************************/
49
50 #endif
51