]> git.donarmstrong.com Git - mothur.git/blob - quitcommand.h
f901b17083b54f059e2cb9eef6d020318c9d5cda
[mothur.git] / quitcommand.h
1 #ifndef QUITCOMMAND_H
2 #define QUITCOMMAND_H
3 /*
4  *  quitcommand.h
5  *  Dotur
6  *
7  *  Created by Sarah Westcott on 1/2/09.
8  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
9  *
10  */
11
12 #include "command.hpp"
13
14 /* The quit() command:
15         The quit command terminates the mothur program. 
16         The quit command should be in the following format: quit ().   */
17
18
19 class QuitCommand : public Command {
20         
21 public:
22         QuitCommand(string);
23         QuitCommand() {}
24         ~QuitCommand();
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         bool abort;
34         vector<string> outputNames;
35         map<string, vector<string> > outputTypes;
36 };
37
38 #endif