X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=command.hpp;h=f5e09042234f1c39ac8010f859e6f69708871dc3;hb=49d2b7459c5027557564b21e9487dadafbbbdc96;hp=22f118164eb04e7d22c0438e3e42c56b79ed0f3d;hpb=6f1c0c62e5199454868227e5c3723ea3b4794735;p=mothur.git diff --git a/command.hpp b/command.hpp index 22f1181..f5e0904 100644 --- a/command.hpp +++ b/command.hpp @@ -33,6 +33,7 @@ class Command { virtual string getDescription() = 0; virtual map > 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 setParameters() = 0; //to fill parameters virtual vector getParameters() { return parameters; }