X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=globaldata.hpp;h=b36545effa90467bbfeddab77c56351ebeea934a;hb=addc715b6d7ea52440751cec10edad03e1a19b37;hp=277d351062fd67726f0ba05d53647d8c98b2a53c;hpb=70ac1dc59244e259b1a972385d490d2ac7f511c0;p=mothur.git diff --git a/globaldata.hpp b/globaldata.hpp index 277d351..b36545e 100644 --- a/globaldata.hpp +++ b/globaldata.hpp @@ -41,10 +41,9 @@ public: TreeMap* gTreemap; string inputFileName, helpRequest, commandName; bool allLines; - vector Estimators; //holds estimators to be used + vector Estimators, Groups; //holds estimators to be used set lines; //hold lines to be used set labels; //holds labels to be used - vector Groups; string getPhylipFile(); string getColumnFile(); @@ -65,7 +64,9 @@ public: string getIters(); string getJumble(); string getFreq(); + string getAbund(); string getRandomTree(); + void setListFile(string); void setPhylipFile(string); void setColumnFile(string); @@ -79,11 +80,16 @@ public: void setListVector(ListVector*); void setSparseMatrix(SparseMatrix*); + void clear(); + void clearLabels(); + void clearAbund(); + void parseGlobalData(string, string); private: string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, line, label, randomtree, groups; - string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc; + string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc, abund; + static GlobalData* _uniqueInstance; GlobalData( const GlobalData& ); // Disable copy constructor void operator=( const GlobalData& ); // Disable assignment operator