X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=collect.h;h=79f88fb6dc4ea12a886107743fe7fd8a65a539d5;hb=fd5f17bcbe5fadab2c525f3d1fcfd1d79a60ae72;hp=3f6a094e0319092f3c8151408813cd2678468d85;hpb=addc715b6d7ea52440751cec10edad03e1a19b37;p=mothur.git diff --git a/collect.h b/collect.h index 3f6a094..79f88fb 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" @@ -12,6 +9,7 @@ using namespace std; #include "sharedordervector.h" #include "datavector.hpp" #include "globaldata.hpp" +#include "mothurout.h" /***********************************************************************/ @@ -19,13 +17,13 @@ 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; @@ -34,9 +32,10 @@ private: vector displays; int numSeqs, numGroupComb, totalNumSeq; string label, groupLabel; - void getGroupComb(vector); + void getGroupComb(); vector groupComb; bool validGroup(vector, string); + MothurOut* m; };