X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.hpp;fp=commandfactory.hpp;h=d84be62a074dde5dc29b8006a636bd7b67b9607d;hb=315e38cf393c82be238da5b32574f225a020d25c;hp=70e263078eee32ad8e706816f15be03a2fb6d369;hpb=c99f3846e7a7b6f06ab46508baa5409204ad6290;p=mothur.git diff --git a/commandfactory.hpp b/commandfactory.hpp index 70e2630..d84be62 100644 --- a/commandfactory.hpp +++ b/commandfactory.hpp @@ -21,11 +21,15 @@ public: Command* getCommand(); bool isValidCommand(string); void printCommands(ostream&); + void setOutputDirectory(string o) { outputDir = o; } + void setInputDirectory(string i) { inputDir = i; } + string getOutputDir() { return outputDir; } private: Command* command; map commands; map::iterator it; + string outputDir, inputDir; static CommandFactory* _uniqueInstance; CommandFactory( const CommandFactory& ); // Disable copy constructor