X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=e05f8dffa1cb5d1c13716152773793fc509ad96c;hb=5589a967aab6b83d826508f4c37a789fb6a2a26e;hp=0c1b3e075ee8ade15e0ea619463df962e9eac846;hpb=09a01fb51eea9e81409d367410c831394193fd86;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index 0c1b3e0..e05f8df 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -16,6 +16,9 @@ #include "parselistcommand.h" #include "collectcommand.h" #include "collectsharedcommand.h" +#include "getgroupcommand.h" +#include "getlabelcommand.h" +#include "getlinecommand.h" #include "rarefactcommand.h" #include "summarycommand.h" #include "summarysharedcommand.h" @@ -28,7 +31,7 @@ #include "parsimonycommand.h" #include "unifracunweightedcommand.h" #include "unifracweightedcommand.h" -#include +#include "mothur.h" /***********************************************************/ @@ -70,8 +73,11 @@ Command* CommandFactory::getCommand(string commandName){ else if(commandName == "summary.shared") { command = new SummarySharedCommand(); } else if(commandName == "unifrac.weighted") { command = new UnifracWeightedCommand(); } else if(commandName == "unifrac.unweighted") { command = new UnifracUnweightedCommand(); } + else if(commandName == "get.group") { command = new GetgroupCommand(); } + else if(commandName == "get.label") { command = new GetlabelCommand(); } + else if(commandName == "get.line") { command = new GetlineCommand(); } else { command = new NoCommand(); } - + return command; } catch(exception& e) {