]> git.donarmstrong.com Git - mothur.git/blobdiff - setlogfilecommand.h
Revert to previous commit
[mothur.git] / setlogfilecommand.h
diff --git a/setlogfilecommand.h b/setlogfilecommand.h
new file mode 100644 (file)
index 0000000..8d3bfcd
--- /dev/null
@@ -0,0 +1,47 @@
+#ifndef SETLOGFILECOMMAND_H
+#define SETLOGFILECOMMAND_H
+
+/*
+ *  setlogfilecommand.h
+ *  Mothur
+ *
+ *  Created by westcott on 4/27/10.
+ *  Copyright 2010 Schloss Lab. All rights reserved.
+ *
+ */
+
+#include "command.hpp"
+#include "commandfactory.hpp"
+
+/**********************************************************/
+
+class SetLogFileCommand : public Command {
+       
+public:
+       SetLogFileCommand(string);
+       SetLogFileCommand() { setParameters(); abort = true; calledHelp = true; }
+       ~SetLogFileCommand(){}
+       
+       vector<string> setParameters();
+       string getCommandName()                 { return "set.logfile";         }
+       string getCommandCategory()             { return "General";                     }
+       string getHelpString(); 
+       string getCitation() { return "http://www.mothur.org/wiki/Set.logfile"; }
+       string getDescription()         { return "set logfile name"; }
+
+       int execute(); 
+       void help() { m->mothurOut(getHelpString()); }  
+       
+private:
+       CommandFactory* commandFactory;
+       string name;
+       bool abort, append;
+       vector<string> outputNames;
+               
+};
+
+/**********************************************************/
+#endif
+
+