]> git.donarmstrong.com Git - mothur.git/blobdiff - command.hpp
added pca command
[mothur.git] / command.hpp
index 6d734e00b5dd1ef8cc3a4239a8c0b10ad18f8acc..1dd5e871aaa66362e02e997c9ff26b427ed9178a 100644 (file)
  *
  */
 
-/*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.  */
 
-using namespace std;
-
-#include <iostream>
-#include <fstream>
 
+#include "mothur.h"
+#include "optionparser.h"
+#include "validparameter.h"
 
 class Command {
+       
        public:
                virtual int execute() = 0;
+               virtual void help() = 0;
+               virtual ~Command() { }
 };
 
 #endif