]> git.donarmstrong.com Git - mothur.git/blob - nocommands.h
added modify names parameter to set.dir
[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 getOutputPattern(string) { return "";                }
29         string getCitation()                { return "no citation";     }
30         string getDescription()             { return "no description";  }
31
32         
33         int execute(); 
34         void help() { m->mothurOut(getHelpString()); }  
35         
36         
37 private:
38         vector<string> outputNames;
39                 
40 };
41
42 #endif