]> git.donarmstrong.com Git - mothur.git/blob - getcurrentcommand.h
fixes while testing 1.33.0
[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 #include "commandfactory.hpp"
15
16 class GetCurrentCommand : public Command {
17
18         public:
19                 GetCurrentCommand(string);
20                 GetCurrentCommand();
21                 ~GetCurrentCommand() {}
22         
23                 vector<string> setParameters();
24                 string getCommandName()                 { return "get.current"; }
25                 string getCommandCategory()             { return "General";             }
26         string getHelpString(); 
27         string getOutputPattern(string) { return ""; }
28                 string getCitation() { return "http://www.mothur.org/wiki/Get.current"; }
29                 string getDescription()         { return "get current files saved by mothur"; }
30
31         
32                 int execute(); 
33                 void help() { m->mothurOut(getHelpString()); }  
34         
35         
36         private:
37                 
38         CommandFactory* cFactory;
39                 vector<string> outputNames;
40                 bool abort;
41         
42                 string clearTypes;
43                 vector<string> types;
44                 
45 };
46
47 #endif
48