X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=getgroupcommand.h;h=7924d7b55a708886c0875bf26f173ffa13cc9da1;hb=ce8794490ab1d83adcdb2b92e0302a1e43e17adf;hp=fb3e810666320ea2cd1c32d4b14b0c2cac08c995;hpb=8bc3e5b38c2317a1715f53be22fa96455868c281;p=mothur.git diff --git a/getgroupcommand.h b/getgroupcommand.h index fb3e810..7924d7b 100644 --- a/getgroupcommand.h +++ b/getgroupcommand.h @@ -11,26 +11,30 @@ */ #include "command.hpp" -#include "globaldata.hpp" class GetgroupCommand : public Command { public: GetgroupCommand(string); GetgroupCommand(); - ~GetgroupCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + ~GetgroupCommand() {} + + vector setParameters(); + string getCommandName() { return "get.group"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getOutputFileNameTag(string, string) { return ""; } + string getHelpString(); + 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; - map > outputTypes; ofstream out; ifstream in; bool abort;