]> git.donarmstrong.com Git - mothur.git/blobdiff - getcurrentcommand.h
fixes while testing 1.33.0
[mothur.git] / getcurrentcommand.h
index c36b6a599885aa81c127f1b0fff1626f7b8313c1..e426fe95a07bc08131e557d147aefd8566502913 100644 (file)
  */
 
 #include "command.hpp"
+#include "commandfactory.hpp"
 
 class GetCurrentCommand : public Command {
 
        public:
                GetCurrentCommand(string);
                GetCurrentCommand();
-               ~GetCurrentCommand();
-               vector<string> getRequiredParameters();
-               vector<string> getValidParameters();
-               vector<string> getRequiredFiles();
-               map<string, vector<string> > getOutputFiles() { return outputTypes; }
-               int execute();
-               void help();
-               
+               ~GetCurrentCommand() {}
+       
+               vector<string> setParameters();
+               string getCommandName()                 { return "get.current"; }
+               string getCommandCategory()             { return "General";             }
+        string getHelpString();        
+        string getOutputPattern(string)        { return ""; }
+               string getCitation() { return "http://www.mothur.org/wiki/Get.current"; }
+               string getDescription()         { return "get current files saved by mothur"; }
+
+       
+               int execute(); 
+               void help() { m->mothurOut(getHelpString()); }  
+       
+       
        private:
                
+        CommandFactory* cFactory;
                vector<string> outputNames;
-               map<string, vector<string> > outputTypes;
                bool abort;
        
                string clearTypes;