X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=raredisplay.h;h=6d07efc55ab9ab677bb9f3604f46862d02984e16;hp=c9067060820eece4446921011634c1515c44b812;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=74c78f9abd9e733f0c2f812efec97a76632fcbf8 diff --git a/raredisplay.h b/raredisplay.h index c906706..6d07efc 100644 --- a/raredisplay.h +++ b/raredisplay.h @@ -11,8 +11,7 @@ class RareDisplay : public Display { public: - RareDisplay(Calculator* calc, FileOutput* file) : estimate(calc), output(file), nIters(1), - tempInName(getPathName(output->getFileName()) + ".tempin"), tempOutName(getPathName(output->getFileName()) + ".tempout") {}; + RareDisplay(Calculator* calc, FileOutput* file) : estimate(calc), output(file), nIters(1) {}; ~RareDisplay() { delete estimate; delete output; }; void init(string); void reset(); @@ -21,16 +20,15 @@ public: void close(); bool isCalcMultiple() { return estimate->getMultiple(); } + void outputTempFiles(string); + void inputTempFiles(string); + private: Calculator* estimate; FileOutput* output; string label; + map > results; //maps seqCount to results for that number of sequences int nIters; - string tempInName, tempOutName; - ifstream tempInFile; - ofstream tempOutFile; - int renameOk; - }; #endif