]> git.donarmstrong.com Git - mothur.git/blob - setdircommand.h
added pipeline commands which involved change to command factory and command class...
[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 #include "globaldata.hpp"
16
17 /**********************************************************/
18
19 class SetDirectoryCommand : public Command {
20         
21 public:
22         SetDirectoryCommand(string);
23         SetDirectoryCommand() {}
24         ~SetDirectoryCommand();
25         vector<string> getRequiredParameters();
26         vector<string> getValidParameters();
27         vector<string> getRequiredFiles();
28         map<string, vector<string> > getOutputFiles() { return outputTypes; }
29         int execute();
30         void help();
31         
32 private:
33         CommandFactory* commandFactory;
34         string output, input, tempdefault;
35         bool abort;
36         vector<string> outputNames;
37         map<string, vector<string> > outputTypes;
38                 
39 };
40
41 /**********************************************************/
42  
43 #endif
44