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();
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);
72 void setListVector(ListVector*);
73 void setSparseMatrix(SparseMatrix*);
78 void parseGlobalData(string, string);
81 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, line, label, randomtree, groups;
82 string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc, abund;
84 static GlobalData* _uniqueInstance;
85 GlobalData( const GlobalData& ); // Disable copy constructor
86 void operator=( const GlobalData& ); // Disable assignment operator
89 ListVector* gListVector;
90 SparseMatrix* gSparseMatrix;
91 void reset(); //clears all non filename parameters