]> git.donarmstrong.com Git - mothur.git/blob - setlogfilecommand.h
added load.logfile command. changed summary.single output for subsample=t.
[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() { setParameters(); abort = true; calledHelp = true; }
23         ~SetLogFileCommand(){}
24         
25         vector<string> setParameters();
26         string getCommandName()                 { return "set.logfile";         }
27         string getCommandCategory()             { return "General";                     }
28         string getOutputFileNameTag(string, string) { return ""; }
29         string getHelpString(); 
30         string getCitation() { return "http://www.mothur.org/wiki/Set.logfile"; }
31         string getDescription()         { return "set logfile name"; }
32
33         int execute(); 
34         void help() { m->mothurOut(getHelpString()); }  
35         
36 private:
37         CommandFactory* commandFactory;
38         string name;
39         bool abort, append;
40         vector<string> outputNames;
41                 
42 };
43
44 /**********************************************************/
45  
46 #endif
47
48