X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=840eaaccc82c392de096729a5db32d7c72cdf08a;hb=addc715b6d7ea52440751cec10edad03e1a19b37;hp=0c1b3e075ee8ade15e0ea619463df962e9eac846;hpb=70ac1dc59244e259b1a972385d490d2ac7f511c0;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index 0c1b3e0..840eaac 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" @@ -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) {