]> git.donarmstrong.com Git - mothur.git/blobdiff - command.hpp
added pipeline commands which involved change to command factory and command class...
[mothur.git] / command.hpp
index b6bf5cd397644ad215a8a88f269f461d04add112..97701aa0017ccaf821546f06e40df41cad6233e5 100644 (file)
@@ -22,6 +22,10 @@ class Command {
        
        public:
                Command() {  m = MothurOut::getInstance();  }
+               virtual vector<string> getValidParameters() = 0;
+               virtual vector<string> getRequiredParameters() = 0; //adding "or" as the last element indicates one of the previous is needed
+               virtual vector<string> getRequiredFiles() = 0; //adding "or" as the last element indicates one of the previous is needed
+               virtual map<string, vector<string> > getOutputFiles() = 0; //file type to names
                virtual int execute() = 0;
                virtual void help() = 0;
                virtual ~Command() { }