]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
Added get.line command.
[mothur.git] / commandfactory.cpp
index 0c1b3e075ee8ade15e0ea619463df962e9eac846..840eaaccc82c392de096729a5db32d7c72cdf08a 100644 (file)
@@ -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) {