X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=commandfactory.hpp;h=36e8f462b146fc7846ee6cf9ead1eb42e9757a36;hp=8b08c006312240676e1e1466a0470c7f3aa11eae;hb=a8e2df1b96a57f5f29576b08361b86a96a8eff4f;hpb=48335c6b6ecee614c30d22751c2880953c20e2f4 diff --git a/commandfactory.hpp b/commandfactory.hpp index 8b08c00..36e8f46 100644 --- a/commandfactory.hpp +++ b/commandfactory.hpp @@ -26,6 +26,7 @@ public: bool isValidCommand(string); bool isValidCommand(string, string); void printCommands(ostream&); + void printCommandsCategories(ostream&); void setOutputDirectory(string o) { outputDir = o; m->setOutputDir(o); } void setInputDirectory(string i) { inputDir = i; } void setLogfileName(string n, bool a) { logFileName = n; append = a; } @@ -33,7 +34,8 @@ public: bool getAppend() { return append; } string getOutputDir() { return outputDir; } bool MPIEnabled(string); - + map getListCommands() { return commands; } + private: Command* command; Command* shellcommand; @@ -47,6 +49,8 @@ private: string outputDir, inputDir, logFileName; bool append; + int checkForRedirects(string); + static CommandFactory* _uniqueInstance; CommandFactory( const CommandFactory& ); // Disable copy constructor void operator=( const CommandFactory& ); // Disable assignment operator