]> git.donarmstrong.com Git - mothur.git/blob - systemcommand.h
8c959cfb52302df67651a4196ea533751ad596a1
[mothur.git] / systemcommand.h
1 #ifndef SYSTEMCOMMAND_H
2 #define SYSTEMCOMMAND_H
3
4 /*
5  *  systemcommand.h
6  *  Mothur
7  *
8  *  Created by Sarah Westcott on 7/8/09.
9  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12
13 #include "command.hpp"
14
15
16 class SystemCommand : public Command {
17         
18         public:
19         
20                 SystemCommand(string);  
21                 SystemCommand() { setParameters(); abort = true; calledHelp = true; }
22                 ~SystemCommand(){}
23         
24                 vector<string> setParameters();
25                 string getCommandName()                 { return "system";              }
26                 string getCommandCategory()             { return "General";             }
27                 string getHelpString(); 
28         
29                 int execute(); 
30                 void help() { m->mothurOut(getHelpString()); }  
31         
32         private:
33                 string command;
34                 bool abort;
35                 vector<string> outputNames;
36                 
37                 
38 };
39
40 #endif
41