X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=getgroupcommand.h;h=fb438dfd91caf9a8213e780db8c7b626768873d3;hp=496d0c9c91d2970ecbef50977ff78e8795526538;hb=1a20e24ee786195ab0e1cccd4f5aede7a88f3f4e;hpb=825512fb96e5bb00e08665396d9fa6a8c4da5a68 diff --git a/getgroupcommand.h b/getgroupcommand.h index 496d0c9..fb438df 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -11,20 +11,33 @@ */ #include "command.hpp" -#include "globaldata.hpp" class GetgroupCommand : public Command { public: + GetgroupCommand(string); GetgroupCommand(); - ~GetgroupCommand(); - int execute(); + ~GetgroupCommand() {} + + vector setParameters(); + string getCommandName() { return "get.group"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + string getOutputPattern(string) { return ""; } + string getCitation() { return "http://www.mothur.org/wiki/Get.group"; } + string getDescription() { return "outputs group names"; } + + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - GroupMap* groupMap; - string outputFile, sharedfile; + + string outputFile, sharedfile, outputDir; + vector outputNames; ofstream out; ifstream in; + bool abort; };