X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getcommandinfocommand.h;fp=getcommandinfocommand.h;h=463c94c41f62d994b0e462cc3c745ac73b733ad0;hb=0caf3fbabaa3ece404f8ce77f4c883dc5b1bf1dc;hp=0000000000000000000000000000000000000000;hpb=1b73ff67c83892a025e597dabd9df6fe7b58206a;p=mothur.git diff --git a/getcommandinfocommand.h b/getcommandinfocommand.h new file mode 100644 index 0000000..463c94c --- /dev/null +++ b/getcommandinfocommand.h @@ -0,0 +1,53 @@ +#ifndef GETCOMMANDINFOCOMMAND_H +#define GETCOMMANDINFOCOMMAND_H + +/* + * getcommandinfo.h + * Mothur + * + * Created by westcott on 4/6/11. + * Copyright 2011 Schloss Lab. All rights reserved. + * + */ + + + +#include "command.hpp" +#include "commandfactory.hpp" + +/**********************************************************/ + +class GetCommandInfoCommand : public Command { + +public: + GetCommandInfoCommand(string); + GetCommandInfoCommand() { abort = true; calledHelp = true; setParameters(); } + ~GetCommandInfoCommand(){} + + vector setParameters(); + string getCommandName() { return "get.commandinfo"; } + string getCommandCategory() { return "Hidden"; } + string getHelpString(); + string getCitation() { return "no citation"; } + string getDescription() { return "get.commandinfo"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + +private: + CommandFactory* commandFactory; + string output; + bool abort; + vector outputNames; + + int getInfo(vector, vector&, vector&, vector&, vector&, vector&, map&); + + + +}; + +/**********************************************************/ + +#endif +