11 class SharedListVector;
22 static GlobalData* getInstance();
23 ListVector* getListVector();
24 SparseMatrix* getSparseMatrix();
29 SharedListVector* gSharedList;
33 string inputFileName, helpRequest, commandName;
35 vector<string> Estimators, Groups; //holds estimators to be used
36 set<int> lines; //hold lines to be used
37 set<string> labels; //holds labels to be used
39 string getPhylipFile();
40 string getColumnFile();
42 string getRabundFile();
43 string getSabundFile();
45 string getGroupFile();
46 string getOrderFile();
47 string getFastaFile();
49 string getSharedFile();
52 string getPrecision();
59 string getRandomTree();
62 void setListFile(string);
63 void setPhylipFile(string);
64 void setColumnFile(string);
65 void setNameFile(string);
66 void setRabundFile(string);
67 void setSabundFile(string);
68 void setFormat(string);
69 void setRandomTree(string);
70 void setGroups(string);
74 void setListVector(ListVector*);
75 void setSparseMatrix(SparseMatrix*);
80 void parseGlobalData(string, string);
83 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, line, label, randomtree, groups;
84 string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc, abund;
86 static GlobalData* _uniqueInstance;
87 GlobalData( const GlobalData& ); // Disable copy constructor
88 void operator=( const GlobalData& ); // Disable assignment operator
91 ListVector* gListVector;
92 SparseMatrix* gSparseMatrix;
93 void reset(); //clears all non filename parameters