*
*/
-using namespace std;
-
#include "mothur.h"
#include "tree.h"
+#include "mothurout.h"
/* The tree calculator class is the parent class for tree calculators in mothur. */
class TreeCalculator {
public:
- TreeCalculator(){};
+ TreeCalculator(){ m = MothurOut::getInstance(); }
TreeCalculator(string n) : name(n) {};
- ~TreeCalculator(){};
+ virtual ~TreeCalculator(){};
virtual EstOutput getValues(Tree*) = 0;
virtual EstOutput getValues(Tree*, string, string) = 0;
protected:
EstOutput data;
string name;
+ MothurOut* m;
};
/***********************************************************************/
-#endif
\ No newline at end of file
+#endif