20 static GlobalData* getInstance();
21 ListVector* getListVector();
22 SparseMatrix* getSparseMatrix();
28 string inputFileName, helpRequest, commandName;
30 vector<string> singleEstimators, summaryEstimators, sharedEstimators, rareEstimators, sharedRareEstimators, sharedSummaryEstimators; //holds estimators to be used
31 set<int> lines; //hold lines to be used
32 set<string> labels; //holds labels to be used
34 string getPhylipFile();
35 string getColumnFile();
37 string getRabundFile();
38 string getSabundFile();
40 string getGroupFile();
41 string getOrderFile();
42 string getFastaFile();
45 string getPrecision();
51 void setListFile(string);
52 void setPhylipFile(string);
53 void setColumnFile(string);
54 void setNameFile(string);
55 void setRabundFile(string);
56 void setSabundFile(string);
57 void setFormat(string);
60 void setListVector(ListVector*);
61 void setSparseMatrix(SparseMatrix*);
64 void parseGlobalData(string, string);
65 void splitAtEquals(string&, string&);
66 void splitAtComma(string&, string&);
67 void splitAtDash(string&, vector<string>&);
68 void splitAtDash(string&, set<int>&);
69 void splitAtDash(string&, set<string>&);
72 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile,line, label;
73 string cutoff, format, precision, method, fileroot, iters, jumble, freq, single, rarefaction, shared, summary, sharedsummary, sharedrarefaction;
74 static GlobalData* _uniqueInstance;
75 GlobalData( const GlobalData& ); // Disable copy constructor
76 void operator=( const GlobalData& ); // Disable assignment operator
79 ListVector* gListVector;
80 SparseMatrix* gSparseMatrix;
84 //**********************************************************************************************************************