]> git.donarmstrong.com Git - mothur.git/blobdiff - nocommands.h
changed random forest output filename
[mothur.git] / nocommands.h
index 2da23d931a1577fb25e93928a6720dffce60fbc9..8c1d7222964a40de5cd06835260c2a5323238584 100644 (file)
 /* This command is run if the user enters an invalid command. */
 
 #include "command.hpp"
+#include "commandfactory.hpp"
 
 class NoCommand : public Command {
 
 public:
        NoCommand(string);
-       ~NoCommand();
-       int execute();
-       void help() {}
+       NoCommand() {}
+       ~NoCommand(){}
+       
+       vector<string> setParameters()      { return outputNames;       } //dummy, doesn't really do anything   
+       string getCommandName()             { return "NoCommand";       }
+       string getCommandCategory()         { return "Hidden";          }
+       string getHelpString()              { return "No Command";      }       
+    string getOutputPattern(string) { return "";                }
+       string getCitation()                { return "no citation";     }
+       string getDescription()             { return "no description";  }
+
+       
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
        
 private:
+       vector<string> outputNames;
                
 };