]> git.donarmstrong.com Git - mothur.git/blobdiff - sharedcommand.h
modified read.otu and shared command
[mothur.git] / sharedcommand.h
index 318fe9820e0444c444cd0bcb73f1e1559e763a37..3467c7b1d9e6beb1bcd2b5af9a63f9d9bbaf8045 100644 (file)
@@ -9,15 +9,10 @@
  *
  */
 
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <fstream>
-#include <map>
 #include "command.hpp"
 #include "sharedlistvector.h"
 #include "inputdata.h"
-#include "shared.h"
-#include "readmatrix.hpp"
+#include "readotu.h"
 
 /* The shared() command:
        The shared command can only be executed after a successful read.shared command.  
@@ -34,18 +29,21 @@ public:
        SharedCommand();        
        ~SharedCommand();
        int execute();  
+       void help() {}
        
 private:
-       void printSharedData();
+       void printSharedData(vector<SharedRAbundVector*>);
        GlobalData* globaldata;
-       ReadMatrix* read;
+       ReadOTUFile* read;
        SharedListVector* SharedList;
        InputData* input;
-       Shared* shared;
-       map<string, SharedRAbundVector*>::iterator it;
+       GroupMap* groupMap;
        ofstream out;
-       string filename;
+       string filename, fileroot;
+       bool firsttime;
+       map<string, ofstream*> filehandles;
+       map<string, ofstream*>::iterator it3;
 
 };
 
-#endif
\ No newline at end of file
+#endif