X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=formatmatrix.h;h=859b78ab2b72569344ccf7c9485de76333ca5ae3;hp=4ef36d95d6d8e11db5bf065a755fd0292e809c17;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=832d53a9dfac6b1795735eec643d8cf627b0d8e3 diff --git a/formatmatrix.h b/formatmatrix.h index 4ef36d9..859b78a 100644 --- a/formatmatrix.h +++ b/formatmatrix.h @@ -13,6 +13,7 @@ #include "mothur.h" #include "listvector.hpp" #include "nameassignment.hpp" +#include "counttable.h" //********************************************************************************************************************** @@ -57,10 +58,11 @@ class FormatMatrix { public: - FormatMatrix(){ } + FormatMatrix(){ m = MothurOut::getInstance(); } virtual ~FormatMatrix() {} - virtual void read(NameAssignment*){}; + virtual int read(NameAssignment*){ return 1; } + virtual int read(CountTable*){ return 1; } void setCutoff(float c) { cutoff = c; } ListVector* getListVector() { return list; } @@ -72,6 +74,7 @@ protected: float cutoff; string distFile; vector rowPos; + MothurOut* m; }; //**********************************************************************************************************************