]> git.donarmstrong.com Git - mothur.git/blob - setdircommand.h
added citation function to commands
[mothur.git] / setdircommand.h
1 #ifndef SETDIRCOMMAND_H
2 #define SETDIRCOMMAND_H
3
4 /*
5  *  setoutdircommand.h
6  *  Mothur
7  *
8  *  Created by westcott on 1/21/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 SetDirectoryCommand : public Command {
19         
20 public:
21         SetDirectoryCommand(string);
22         SetDirectoryCommand() { abort = true; calledHelp = true; setParameters(); }
23         ~SetDirectoryCommand(){}
24         
25         vector<string> setParameters();
26         string getCommandName()                 { return "set.dir";             }
27         string getCommandCategory()             { return "General";             }
28         string getHelpString(); 
29         string getCitation() { return "http://www.mothur.org/wiki/Set.dir"; }
30         
31         int execute(); 
32         void help() { m->mothurOut(getHelpString()); }  
33         
34 private:
35         CommandFactory* commandFactory;
36         string output, input, tempdefault;
37         bool abort;
38         vector<string> outputNames;
39         
40                 
41 };
42
43 /**********************************************************/
44  
45 #endif
46