X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=setdircommand.h;fp=setdircommand.h;h=b3b00c46c65b65f1c7f243221ceb4e814a37dbc5;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/setdircommand.h b/setdircommand.h new file mode 100644 index 0000000..b3b00c4 --- /dev/null +++ b/setdircommand.h @@ -0,0 +1,47 @@ +#ifndef SETDIRCOMMAND_H +#define SETDIRCOMMAND_H + +/* + * setoutdircommand.h + * Mothur + * + * Created by westcott on 1/21/10. + * Copyright 2010 Schloss Lab. All rights reserved. + * + */ + +#include "command.hpp" +#include "commandfactory.hpp" + +/**********************************************************/ + +class SetDirectoryCommand : public Command { + +public: + SetDirectoryCommand(string); + SetDirectoryCommand() { abort = true; calledHelp = true; setParameters(); } + ~SetDirectoryCommand(){} + + vector setParameters(); + string getCommandName() { return "set.dir"; } + string getCommandCategory() { return "General"; } + string getHelpString(); + string getCitation() { return "http://www.mothur.org/wiki/Set.dir"; } + string getDescription() { return "set input, output and default directories"; } + + int execute(); + void help() { m->mothurOut(getHelpString()); } + +private: + CommandFactory* commandFactory; + string output, input, tempdefault; + bool abort; + vector outputNames; + + +}; + +/**********************************************************/ + +#endif +