]> git.donarmstrong.com Git - mothur.git/blob - shared.h
8625d8b0f4f370c72f4ec2e8961cd85b6c079888
[mothur.git] / shared.h
1 #ifndef SHARED_H
2 #define SHARED_H
3
4 /*
5  *  shared.h
6  *  Dotur
7  *
8  *  Created by Sarah Westcott on 12/5/08.
9  *  Copyright 2008 Schloss Lab UMASS Amherst. All rights reserved.
10  *
11  */
12  
13 using namespace std;
14
15 #include <iostream>
16 #include <fstream>
17 #include <iomanip>
18 #include <vector>
19 #include <string>
20 #include <sstream>
21 #include <map>
22 #include "sharedrabundvector.h"
23 #include "sharedlistvector.h"
24 #include "globaldata.hpp"
25
26 class Shared {
27         public:
28                 Shared();
29                 ~Shared();
30                 void getSharedVectors(int, SharedListVector*);
31                 map<string, SharedRAbundVector*> sharedGroups; //string is groupname, SharedVector* is out info for that group
32                 
33         private:
34                 GlobalData* globaldata;
35                 void parse(int, SharedListVector*);
36                 vector< map<string, SharedRAbundVector*> > sharedRAbund;  //contains all the info needed to create the .shared file not sure if we will need 
37 };
38
39 #endif