]> git.donarmstrong.com Git - mothur.git/blob - setlogfilecommand.h
added [ERROR] flag if command aborts
[mothur.git] / setlogfilecommand.h
1 #ifndef SETLOGFILECOMMAND_H
2 #define SETLOGFILECOMMAND_H
3
4 /*
5  *  setlogfilecommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 4/27/10.
9  *  Copyright 2010 Schloss Lab. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14 #include "commandfactory.hpp"
15
16 /**********************************************************/
17
18 class SetLogFileCommand : public Command {
19         
20 public:
21         SetLogFileCommand(string);
22         SetLogFileCommand() { abort = true; calledHelp = true; }
23         ~SetLogFileCommand();
24         vector<string> getRequiredParameters();
25         vector<string> getValidParameters();
26         vector<string> getRequiredFiles();
27         map<string, vector<string> > getOutputFiles() { return outputTypes; }
28         int execute();
29         void help();
30         
31 private:
32         CommandFactory* commandFactory;
33         string name;
34         bool abort, append;
35         vector<string> outputNames;
36         map<string, vector<string> > outputTypes;
37                 
38 };
39
40 /**********************************************************/
41  
42 #endif
43
44