X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=command.hpp;h=2d1981aa4cca8d7e608e3708750fc079600d1265;hb=f6c7165727bc17a5fbbcbb774d75ccffeb7f3da5;hp=ddb776356a183e0c310997ea7f9cb0acfc5e5c02;hpb=c69e2e9749626cfbf1d6cb0125ae94f869e00b18;p=mothur.git diff --git a/command.hpp b/command.hpp index ddb7763..2d1981a 100644 --- a/command.hpp +++ b/command.hpp @@ -17,11 +17,12 @@ #include "optionparser.h" #include "validparameter.h" #include "mothurout.h" +#include "currentfile.h" class Command { public: - Command() { m = MothurOut::getInstance(); } + Command() { m = MothurOut::getInstance(); currentFiles = CurrentFile::getInstance(); } virtual vector getValidParameters() = 0; virtual vector getRequiredParameters() = 0; //adding "or" as the last element indicates one of the previous is needed virtual vector getRequiredFiles() = 0; //adding "or" as the last element indicates one of the previous is needed @@ -31,7 +32,10 @@ class Command { virtual ~Command() { } protected: MothurOut* m; + CurrentFile* currentFiles; bool calledHelp; + + map >::iterator itTypes; }; #endif