]> git.donarmstrong.com Git - mothur.git/blob - nocommands.h
Revert to previous commit
[mothur.git] / nocommands.h
1 #ifndef NOCOMMAND_H
2 #define NOCOMMAND_H
3 /*
4  *  nocommand.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 /* This command is run if the user enters an invalid command. */
13
14 #include "command.hpp"
15 #include "commandfactory.hpp"
16
17 class NoCommand : public Command {
18
19 public:
20         NoCommand(string);
21         NoCommand() {}
22         ~NoCommand(){}
23         
24         vector<string> setParameters()  { return outputNames;   } //dummy, doesn't really do anything   
25         string getCommandName()                 { return "NoCommand";   }
26         string getCommandCategory()             { return "Hidden";              }
27         string getHelpString() { return "No Command"; } 
28         string getCitation() { return "no citation"; }
29         string getDescription()         { return "no description"; }
30
31         
32         int execute(); 
33         void help() { m->mothurOut(getHelpString()); }  
34         
35         
36 private:
37         vector<string> outputNames;
38                 
39 };
40
41 #endif