#ifndef COLLECT_H
#define COLLECT_H
-using namespace std;
-
-
-
#include "collectorscurvedata.h"
#include "display.h"
#include "ordervector.hpp"
#include "sharedordervector.h"
#include "datavector.hpp"
#include "globaldata.hpp"
+#include "mothurout.h"
/***********************************************************************/
public:
Collect(OrderVector* order, vector<Display*> 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<Display*> 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;
void getGroupComb();
vector<string> groupComb;
bool validGroup(vector<string>, string);
+ MothurOut* m;
};