]> git.donarmstrong.com Git - mothur.git/blobdiff - shared.h
version working on mac with .tellg changed to unget for windows
[mothur.git] / shared.h
index 42c9d65d5e8071ec1ba0ba6d7333487150974b18..515c2a0da33ab4b2bfc63c25c409ba37fd2ecd49 100644 (file)
--- a/shared.h
+++ b/shared.h
@@ -9,31 +9,24 @@
  *  Copyright 2008 Schloss Lab UMASS Amherst. All rights reserved.
  *
  */
-using namespace std;
 
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <fstream>
-#include <iomanip>
-#include <vector>
-#include <string>
-#include <sstream>
-#include <map>
+#include "mothur.h"
 #include "sharedrabundvector.h"
-#include "listvector.hpp"
+#include "sharedlistvector.h"
+#include "globaldata.hpp"
 
 class Shared {
        public:
                Shared();
-               ~Shared();
-               void getSharedVectors(int, ListVector*);
+               ~Shared() {};
+               void getSharedVectors(SharedListVector*);
                map<string, SharedRAbundVector*> sharedGroups; //string is groupname, SharedVector* is out info for that group
                
        private:
                GlobalData* globaldata;
-               void parse(int, ListVector*);
-               vector< map<string, SharedRAbundVector*> > sharedRAbund;  //contains all the info needed to create the .shared file not sure if we will need 
+               map<string, SharedRAbundVector*>::iterator it;
+               void parse(int, SharedListVector*);
+               //vector< map<string, SharedRAbundVector*> > sharedRAbund;  //contains all the info needed to create the .shared file not sure if we will need 
 };
 
-#endif
\ No newline at end of file
+#endif