X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedutilities.h;h=df7e8d3091d811285f15cb49402053ec09a4f535;hp=fa00933f197dee90428a62011903c1be84989c1a;hb=cf9987b67aa49777a4c91c2d21f96e58bf17aa82;hpb=d59f91eb1230d2c7867a92cb86138b7003100ab4 diff --git a/sharedutilities.h b/sharedutilities.h index fa00933..df7e8d3 100644 --- a/sharedutilities.h +++ b/sharedutilities.h @@ -10,6 +10,7 @@ */ #include "mothur.h" +#include "mothurout.h" class SharedRAbundVector; class SharedOrderVector; @@ -18,7 +19,7 @@ class SharedOrderVector; class SharedUtil { public: - SharedUtil() {}; + SharedUtil() { m = MothurOut::getInstance(); } ~SharedUtil() {}; void getSharedVectors(vector, vector&, SharedOrderVector*); @@ -28,14 +29,13 @@ class SharedUtil { void setGroups(vector&, vector&, string&, int&, string); //globaldata->Groups, your tree or group map, allgroups, numGroups, mode void getCombos(vector&, vector, int&); //groupcomb, globaldata->Groups, numcomb void updateGroupIndex(vector&, map&); //globaldata->Groups, groupmap->groupIndex + bool isValidGroup(string, vector); private: - - bool isValidGroup(string, vector); + MothurOut* m; + }; /**************************************************************************************************/ - - -#endif \ No newline at end of file +#endif