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
36 string getRabundFile();
37 string getSabundFile();
39 string getGroupFile();
40 string getOrderFile();
43 string getPrecision();
49 void setListFile(string);
50 void setDistFile(string);
51 void setNameFile(string);
52 void setRabundFile(string);
53 void setSabundFile(string);
54 void setFormat(string);
57 void setListVector(ListVector*);
58 void setSparseMatrix(SparseMatrix*);
61 void parseGlobalData(string, string);
62 void splitAtEquals(string&, string&);
63 void splitAtComma(string&, string&);
64 void splitAtDash(string&, vector<string>&);
65 void splitAtDash(string&, set<int>&);
66 void splitAtDash(string&, set<string>&);
69 string distfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, line, label;
70 string cutoff, format, precision, method, fileroot, iters, jumble, freq, single, rarefaction, shared, summary, sharedsummary, sharedrarefaction;
71 static GlobalData* _uniqueInstance;
72 GlobalData( const GlobalData& ); // Disable copy constructor
73 void operator=( const GlobalData& ); // Disable assignment operator
76 ListVector* gListVector;
77 SparseMatrix* gSparseMatrix;
78 void setReadFormat(string);
82 //**********************************************************************************************************************