]> git.donarmstrong.com Git - mothur.git/blobdiff - setdircommand.cpp
added pipeline commands which involved change to command factory and command class...
[mothur.git] / setdircommand.cpp
index a9ae730fba554945fb737c08b0f4cc739af5bec8..214bd172e80208f246bede7978ad69329f6e23db 100644 (file)
@@ -9,6 +9,40 @@
 
 #include "setdircommand.h"
 
+//**********************************************************************************************************************
+vector<string> SetDirectoryCommand::getValidParameters(){      
+       try {
+               string Array[] =  {"output","input","tempdefault","outputdir","inputdir"};
+               vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "SetDirectoryCommand", "getValidParameters");
+               exit(1);
+       }
+}
+//**********************************************************************************************************************
+vector<string> SetDirectoryCommand::getRequiredParameters(){   
+       try {
+               vector<string> myArray;
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "SetDirectoryCommand", "getRequiredParameters");
+               exit(1);
+       }
+}
+//**********************************************************************************************************************
+vector<string> SetDirectoryCommand::getRequiredFiles(){        
+       try {
+               vector<string> myArray;
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "SetDirectoryCommand", "getRequiredFiles");
+               exit(1);
+       }
+}
 //**********************************************************************************************************************
 
 SetDirectoryCommand::SetDirectoryCommand(string option)  {