X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=treecalculator.h;fp=treecalculator.h;h=86cb52798a291990ea7d0d20adfdf9c14f0ea569;hb=74844a60d80c6dd06e3fb02ee9b928424f9019b0;hp=797c45723f835fea908fe2829397b682edc32c6f;hpb=a218321731df14d231bbc08e79906f757cf1540d;p=mothur.git diff --git a/treecalculator.h b/treecalculator.h index 797c457..86cb527 100644 --- a/treecalculator.h +++ b/treecalculator.h @@ -12,6 +12,7 @@ #include "mothur.h" #include "tree.h" +#include "mothurout.h" /* The tree calculator class is the parent class for tree calculators in mothur. */ @@ -22,7 +23,7 @@ typedef vector EstOutput; class TreeCalculator { public: - TreeCalculator(){}; + TreeCalculator(){ m = MothurOut::getInstance(); } TreeCalculator(string n) : name(n) {}; virtual ~TreeCalculator(){}; virtual EstOutput getValues(Tree*) = 0; @@ -33,6 +34,7 @@ public: protected: EstOutput data; string name; + MothurOut* m; };