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