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, Groups; //holds estimators to be used
45 set<int> lines; //hold lines to be used
46 set<string> labels; //holds labels to be used
48 string getPhylipFile();
49 string getColumnFile();
51 string getRabundFile();
52 string getSabundFile();
54 string getGroupFile();
55 string getOrderFile();
56 string getFastaFile();
58 string getSharedFile();
61 string getPrecision();
68 string getRandomTree();
70 void setListFile(string);
71 void setPhylipFile(string);
72 void setColumnFile(string);
73 void setNameFile(string);
74 void setRabundFile(string);
75 void setSabundFile(string);
76 void setFormat(string);
77 void setRandomTree(string);
81 void setListVector(ListVector*);
82 void setSparseMatrix(SparseMatrix*);
87 void parseGlobalData(string, string);
90 string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, line, label, randomtree, groups;
91 string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc, abund;
93 static GlobalData* _uniqueInstance;
94 GlobalData( const GlobalData& ); // Disable copy constructor
95 void operator=( const GlobalData& ); // Disable assignment operator
98 ListVector* gListVector;
99 SparseMatrix* gSparseMatrix;
100 void reset(); //clears all non filename parameters