X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=collect.h;h=51712331401747192b62a9198ca6fa3cda8f4cef;hp=3f6a094e0319092f3c8151408813cd2678468d85;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=addc715b6d7ea52440751cec10edad03e1a19b37 diff --git a/collect.h b/collect.h index 3f6a094..5171233 100644 --- a/collect.h +++ b/collect.h @@ -1,9 +1,6 @@ #ifndef COLLECT_H #define COLLECT_H -using namespace std; - - #include "collectorscurvedata.h" #include "display.h" #include "ordervector.hpp" @@ -11,7 +8,7 @@ using namespace std; #include "rabundvector.hpp" #include "sharedordervector.h" #include "datavector.hpp" -#include "globaldata.hpp" +#include "mothurout.h" /***********************************************************************/ @@ -19,24 +16,24 @@ class Collect { public: Collect(OrderVector* order, vector disp) : - numSeqs(order->getNumSeqs()), order(order), displays(disp), label(order->getLabel()) {}; + numSeqs(order->getNumSeqs()), order(order), displays(disp), label(order->getLabel()) { m = MothurOut::getInstance(); }; Collect(SharedOrderVector* sharedorder, vector disp) : - numSeqs(sharedorder->getNumSeqs()), sharedorder(sharedorder), displays(disp), label(sharedorder->getLabel()) {}; + numSeqs(sharedorder->getNumSeqs()), sharedorder(sharedorder), displays(disp), label(sharedorder->getLabel()) { m = MothurOut::getInstance(); } ~Collect(){ }; - void getCurve(int); - void getSharedCurve(int); + int getCurve(float); + int getSharedCurve(float); private: SharedOrderVector* sharedorder; - GlobalData* globaldata; OrderVector* order; vector displays; int numSeqs, numGroupComb, totalNumSeq; string label, groupLabel; - void getGroupComb(vector); + void getGroupComb(); vector groupComb; bool validGroup(vector, string); + MothurOut* m; };