]> git.donarmstrong.com Git - mothur.git/blobdiff - command.hpp
cleaned up code
[mothur.git] / command.hpp
index 0f4def8249313cbe39f9e9a9a89e8fef102d9bf7..f5e09042234f1c39ac8010f859e6f69708871dc3 100644 (file)
@@ -1,6 +1,6 @@
 #ifndef COMMAND_HPP
 #define COMMAND_HPP
-//test
+//test2
 /*
  *  command.h
  *  
@@ -33,6 +33,7 @@ class Command {
                virtual string getDescription() = 0;
                
                virtual map<string, vector<string> > getOutputFiles() { return outputTypes; }
+        virtual string getOutputFileNameTag(string, string) = 0;  //we may not know the complete filename, because some commands use info from the file to create the output file name (ie label). but we do the ending tag which should be enough to find the output file name from a list. Allows for optional passing of the inputFileName for the commands that require its extension.
                virtual vector<string> setParameters() = 0; //to fill parameters
                virtual vector<CommandParameter> getParameters() { return parameters; }