]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.h
updated errorchecking so it checks if the parameter is valid for the command.
[mothur.git] / summarysharedcommand.h
index 6188b96bea172f9b63a7c45c7a92b9072b6f1e1a..248c1c8ecb81f2bbc069b25151c3908e05330907 100644 (file)
@@ -9,15 +9,14 @@
  *
  */
 
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <fstream>
-#include <vector>
+
 #include "command.hpp"
 #include "sharedrabundvector.h"
 #include "inputdata.h"
 #include "calculator.h"
 #include "readmatrix.hpp"
+#include "sharedlistvector.h"
+#include "validcalculator.h"
 
 /*The summary.shared() command
        The summary.shared command can only be executed after a successful read.shared command. 
@@ -44,21 +43,21 @@ public:
        int execute();
        
 private:
-       void getGroupComb();
        void getSharedVectors();
+       void setGroups();
        
        GlobalData* globaldata;
        ReadMatrix* read;
        vector<Calculator*> sumCalculators;     
        InputData* input;
-       ListVector* list;
+       ValidCalculators* validCalculator;
+       SharedListVector* SharedList;
        SharedOrderVector* order;
        vector<SharedRAbundVector*> lookup;
        SharedRAbundVector* shared1, shared2;
-       string outputFileName;
+       string outputFileName, format;
        ofstream outputFileHandle;
-       vector<string> groupComb;
 
 };
 
-#endif
\ No newline at end of file
+#endif