20 class SharedListVector;
31 static GlobalData* getInstance();
32 ListVector* getListVector();
33 SparseMatrix* getSparseMatrix();
38 SharedListVector* gSharedList;
42 string inputFileName, helpRequest, commandName;
44 vector<string> Estimators; //holds estimators to be used
45 set<int> lines; //hold lines to be used
46 set<string> labels; //holds labels to be used
47 vector<string> Groups;
49 string getPhylipFile();
50 string getColumnFile();
52 string getRabundFile();
53 string getSabundFile();
55 string getGroupFile();
56 string getOrderFile();
57 string getFastaFile();
59 string getSharedFile();
62 string getPrecision();
68 string getRandomTree();
69 void setListFile(string);
70 void setPhylipFile(string);
71 void setColumnFile(string);
72 void setNameFile(string);
73 void setRabundFile(string);
74 void setSabundFile(string);
75 void setFormat(string);
76 void setRandomTree(string);
80 void setListVector(ListVector*);
81 void setSparseMatrix(SparseMatrix*);
82 void parseGlobalData(string, string);
85 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, line, label, randomtree, groups;
86 string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc;
87 static GlobalData* _uniqueInstance;
88 GlobalData( const GlobalData& ); // Disable copy constructor
89 void operator=( const GlobalData& ); // Disable assignment operator
92 ListVector* gListVector;
93 SparseMatrix* gSparseMatrix;
94 void clear(); //clears all parameters
95 void reset(); //clears all non filename parameters