*
*/
-/*This class is a parent to all the command classes. It has one pure int execute(). */
+/*This class is a parent to all the command classes. */
#include "mothur.h"
+#include "optionparser.h"
+#include "validparameter.h"
+#include "mothurout.h"
class Command {
+
public:
+ Command() { m = MothurOut::getInstance(); }
virtual int execute() = 0;
+ virtual void help() = 0;
+ virtual ~Command() { }
+ protected:
+ MothurOut* m;
};
#endif