X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=ff156139ea3f3c1d67791d440113177fc261a700;hb=e2373397d9316500ee0d196e60dcab75d208511a;hp=b6f63aa8f873296ef0bc146e2bb0cdcf9edb835c;hpb=8b0092350db86c42868c7093282f349f1f1761b4;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index b6f63aa..ff15613 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -30,14 +30,21 @@ #include "unifracunweightedcommand.h" #include "unifracweightedcommand.h" #include "libshuffcommand.h" -#include "mothur.h" +#include "heatmapcommand.h" +#include "venncommand.h" +#include "nocommands.h" +#include "binsequencecommand.h" +#include "getoturepcommand.h" +#include "treegroupscommand.h" +#include "bootstrapsharedcommand.h" /***********************************************************/ /***********************************************************/ -CommandFactory::CommandFactory(){} - +CommandFactory::CommandFactory(){ + command = new NoCommand(); +} /***********************************************************/ /***********************************************************/ @@ -73,6 +80,13 @@ Command* CommandFactory::getCommand(string commandName){ else if(commandName == "get.label") { command = new GetlabelCommand(); } else if(commandName == "get.line") { command = new GetlineCommand(); } else if(commandName == "libshuff") { command = new LibShuffCommand(); } + else if(commandName == "heatmap") { command = new HeatMapCommand(); } + else if(commandName == "venn") { command = new VennCommand(); } + else if(commandName == "bin.seqs") { command = new BinSeqCommand(); } + else if(commandName == "get.oturep") { command = new GetOTURepCommand(); } + else if(commandName == "tree.shared") { command = new TreeGroupCommand(); } + else if(commandName == "bootstrap.shared") { command = new BootSharedCommand(); } + else { command = new NoCommand(); } return command; }