X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getcommandinfocommand.h;fp=getcommandinfocommand.h;h=4c5b3ab60f7c1fea8d75f7e228c6539536afd877;hb=1d898dc6edaf9e9f287fab53bf1f21fb29757a17;hp=0000000000000000000000000000000000000000;hpb=c7f5a50aec1ec4b420b286d6ccf980d2a847d494;p=mothur.git diff --git a/getcommandinfocommand.h b/getcommandinfocommand.h new file mode 100644 index 0000000..4c5b3ab --- /dev/null +++ b/getcommandinfocommand.h @@ -0,0 +1,50 @@ +#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(); + + 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 +