]> git.donarmstrong.com Git - mothur.git/blobdiff - getgroupcommand.h
changes while testing
[mothur.git] / getgroupcommand.h
index bc805bdc7ef5363b3c300b4bc980f535704ee0f7..fb438dfd91caf9a8213e780db8c7b626768873d3 100644 (file)
  */
 
 #include "command.hpp"
-#include "globaldata.hpp"
 
 class GetgroupCommand : public Command {
 public:
        GetgroupCommand(string);
-       ~GetgroupCommand();
-       int execute();
-       void help();
+       GetgroupCommand();
+       ~GetgroupCommand() {}
+       
+       vector<string> 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<string> outputNames;
        ofstream out;
        ifstream in;
        bool abort;