]> git.donarmstrong.com Git - mothur.git/blobdiff - shared.h
fixing minor bugs
[mothur.git] / shared.h
index 8625d8b0f4f370c72f4ec2e8961cd85b6c079888..c80ef6606216b6747f0d407cf1895ebbb33ed22e 100644 (file)
--- a/shared.h
+++ b/shared.h
@@ -9,16 +9,8 @@
  *  Copyright 2008 Schloss Lab UMASS Amherst. All rights reserved.
  *
  */
-using namespace std;
 
-#include <iostream>
-#include <fstream>
-#include <iomanip>
-#include <vector>
-#include <string>
-#include <sstream>
-#include <map>
+#include "mothur.h"
 #include "sharedrabundvector.h"
 #include "sharedlistvector.h"
 #include "globaldata.hpp"
@@ -26,12 +18,13 @@ using namespace std;
 class Shared {
        public:
                Shared();
-               ~Shared();
-               void getSharedVectors(int, SharedListVector*);
+               ~Shared() {};
+               void getSharedVectors(SharedListVector*);
                map<string, SharedRAbundVector*> sharedGroups; //string is groupname, SharedVector* is out info for that group
                
        private:
                GlobalData* globaldata;
+               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 
 };