]> git.donarmstrong.com Git - mothur.git/blobdiff - setlogfilecommand.cpp
added pipeline commands which involved change to command factory and command class...
[mothur.git] / setlogfilecommand.cpp
index 19f3ed129ab85b9f66dbea06c56637ea2f8daa42..b99b833a5651c80d4b54b1d957810303fe65b199 100644 (file)
@@ -9,6 +9,41 @@
 
 #include "setlogfilecommand.h"
 
+//**********************************************************************************************************************
+vector<string> SetLogFileCommand::getValidParameters(){        
+       try {
+               string Array[] =  {"name","append","outputdir","inputdir"};
+               vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "SetLogFileCommand", "getValidParameters");
+               exit(1);
+       }
+}
+//**********************************************************************************************************************
+vector<string> SetLogFileCommand::getRequiredParameters(){     
+       try {
+               string Array[] =  {"name"};
+               vector<string> myArray (Array, Array+(sizeof(Array)/sizeof(string)));
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "SetLogFileCommand", "getRequiredParameters");
+               exit(1);
+       }
+}
+//**********************************************************************************************************************
+vector<string> SetLogFileCommand::getRequiredFiles(){  
+       try {
+               vector<string> myArray;
+               return myArray;
+       }
+       catch(exception& e) {
+               m->errorOut(e, "SetLogFileCommand", "getRequiredFiles");
+               exit(1);
+       }
+}
 //**********************************************************************************************************************
 
 SetLogFileCommand::SetLogFileCommand(string option)  {