X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collectsharedcommand.h;fp=collectsharedcommand.h;h=d7f2f8f3d946208cee976595bf6d8113811e7094;hb=ca9ac1d80c62f57270b0dcd49410ebe08a8aecd6;hp=327ce5d28832dbe7f25d69f6c0755f6e931c747d;hpb=36a867cbd85d9c276d3c8d13f25a150bbbe2466b;p=mothur.git diff --git a/collectsharedcommand.h b/collectsharedcommand.h index 327ce5d..d7f2f8f 100644 --- a/collectsharedcommand.h +++ b/collectsharedcommand.h @@ -12,16 +12,12 @@ #include "command.hpp" #include "sharedordervector.h" -#include "sharedlistvector.h" #include "inputdata.h" -#include "groupmap.h" #include "collect.h" #include "display.h" -#include "readotu.h" #include "validcalculator.h" #include "sharedutilities.h" -class GlobalData; class CollectSharedCommand : public Command { @@ -29,34 +25,27 @@ public: CollectSharedCommand(string); CollectSharedCommand(); ~CollectSharedCommand(); - vector getRequiredParameters(); - vector getValidParameters(); - vector getRequiredFiles(); - map > getOutputFiles() { return outputTypes; } - int execute(); - void help(); + + vector setParameters(); + string getCommandName() { return "collect.shared"; } + string getCommandCategory() { return "OTU-Based Approaches"; } + string getHelpString(); + + int execute(); + void help() { m->mothurOut(getHelpString()); } + private: - GlobalData* globaldata; - SharedUtil* util; - GroupMap* groupmap; - SharedListVector* SharedList; - ReadOTUFile* read; SharedOrderVector* order; InputData* input; - ValidCalculators* validCalculator; Collect* cCurve; vector cDisplays; float freq; - string format; bool abort, allLines, all; set labels; //holds labels to be used - string label, calc, groups, outputDir; + string label, calc, groups, outputDir, sharedfile; vector Estimators, Groups, outputNames; - map > outputTypes; - - }; #endif