]> git.donarmstrong.com Git - mothur.git/blob - nocommands.h
added citation function to commands
[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         
30         int execute(); 
31         void help() { m->mothurOut(getHelpString()); }  
32         
33         
34 private:
35         vector<string> outputNames;
36                 
37 };
38
39 #endif