X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=rarefact.h;h=9507d5af84eeadec5046a4fe1967eda508913968;hb=f27b66ce6415eb14c434f9850019c7cf140e023e;hp=6eed91214905f3e8f50b89043c45ea8203b2b808;hpb=37519fc35c0eb1523e84227517694c4015847c6d;p=mothur.git diff --git a/rarefact.h b/rarefact.h index 6eed912..9507d5a 100644 --- a/rarefact.h +++ b/rarefact.h @@ -1,12 +1,11 @@ #ifndef RAREFACT_H #define RAREFACT_H -using namespace std; - #include "rarefactioncurvedata.h" #include "raredisplay.h" #include "ordervector.hpp" #include "mothur.h" +#include "globaldata.hpp" class Rarefact { @@ -15,13 +14,14 @@ public: Rarefact(OrderVector* o, vector disp) : numSeqs(o->getNumSeqs()), order(o), displays(disp), label(o->getLabel()) {}; Rarefact(vector shared, vector disp) : - lookup(shared), displays(disp) {}; + lookup(shared), displays(disp) { globaldata = GlobalData::getInstance(); }; ~Rarefact(){}; void getCurve(int, int); void getSharedCurve(int, int); private: + GlobalData* globaldata; OrderVector* order; vector displays; int numSeqs, numGroupComb;