X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=setdircommand.h;fp=setdircommand.h;h=0d12e05be43ce8ec055fa5a9bdc39dad62f9bca2;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=6263c5eb9a55c391a0a91adf657b82d2be97d6cf;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/setdircommand.h b/setdircommand.h index 6263c5e..0d12e05 100644 --- a/setdircommand.h +++ b/setdircommand.h @@ -12,7 +12,6 @@ #include "command.hpp" #include "commandfactory.hpp" -#include "globaldata.hpp" /**********************************************************/ @@ -20,21 +19,23 @@ class SetDirectoryCommand : public Command { public: SetDirectoryCommand(string); - SetDirectoryCommand() { abort = true; calledHelp = true; } - ~SetDirectoryCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + SetDirectoryCommand() { abort = true; calledHelp = true; setParameters(); } + ~SetDirectoryCommand(){} + + vector setParameters(); + string getCommandName() { return "set.dir"; } + string getCommandCategory() { return "General"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } private: CommandFactory* commandFactory; string output, input, tempdefault; bool abort; vector outputNames; - map > outputTypes; + };