13 class SharedListVector;
24 static GlobalData* getInstance();
25 ListVector* getListVector();
26 SparseMatrix* getSparseMatrix();
31 SharedListVector* gSharedList;
35 string inputFileName, helpRequest, commandName;
37 vector<string> singleEstimators, summaryEstimators, sharedEstimators, rareEstimators, sharedRareEstimators, sharedSummaryEstimators; //holds estimators to be used
38 set<int> lines; //hold lines to be used
39 set<string> labels; //holds labels to be used
40 vector<string> Groups;
42 string getPhylipFile();
43 string getColumnFile();
45 string getRabundFile();
46 string getSabundFile();
48 string getGroupFile();
49 string getOrderFile();
50 string getFastaFile();
54 string getPrecision();
60 string getRandomTree();
61 void setListFile(string);
62 void setPhylipFile(string);
63 void setColumnFile(string);
64 void setNameFile(string);
65 void setRabundFile(string);
66 void setSabundFile(string);
67 void setFormat(string);
68 void setRandomTree(string);
71 void setListVector(ListVector*);
72 void setSparseMatrix(SparseMatrix*);
75 void parseGlobalData(string, string);
76 void splitAtEquals(string&, string&);
77 void splitAtComma(string&, string&);
78 void splitAtDash(string&, vector<string>&);
79 void splitAtDash(string&, set<int>&);
80 void splitAtDash(string&, set<string>&);
83 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, line, label, randomtree, groups;
84 string cutoff, format, precision, method, fileroot, iters, jumble, freq, single, rarefaction, shared, summary, sharedsummary, sharedrarefaction;
85 static GlobalData* _uniqueInstance;
86 GlobalData( const GlobalData& ); // Disable copy constructor
87 void operator=( const GlobalData& ); // Disable assignment operator
90 ListVector* gListVector;
91 SparseMatrix* gSparseMatrix;
96 //**********************************************************************************************************************