]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.hpp
added heatmap command
[mothur.git] / globaldata.hpp
index 0dc4c348584989f101567c229c8246158f5ca70c..16bc8d32b6bc75c2b4cbabfdb4ef6dfb78890d4c 100644 (file)
@@ -21,8 +21,8 @@ class SAbundVector;
 class GlobalData {
 public:
        static GlobalData* getInstance();
-       ListVector* getListVector();
-       SparseMatrix* getSparseMatrix();
+       ListVector* gListVector;
+       SparseMatrix* gSparseMatrix;
        InputData* ginput;
        OrderVector* gorder;
        ListVector* glist;
@@ -60,6 +60,8 @@ public:
        string getAbund();
        string getRandomTree();
        string getGroups();
+       string getStep();
+       string getForm();
 
        void setListFile(string);
        void setPhylipFile(string);
@@ -72,9 +74,6 @@ public:
        void setGroups(string);
        void setCalc(string);
 
-       
-       void setListVector(ListVector*);
-       void setSparseMatrix(SparseMatrix*);
        void clear(); 
        void clearLabels();
        void clearAbund();
@@ -83,15 +82,13 @@ public:
                
 private:
        string phylipfile, columnfile, listfile, rabundfile, sabundfile, namefile, groupfile, orderfile, fastafile, treefile, sharedfile, line, label, randomtree, groups;
-       string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc, abund;
+       string cutoff, format, precision, method, fileroot, iters, jumble, freq, calc, abund, step, form;
 
        static GlobalData* _uniqueInstance;
        GlobalData( const GlobalData& ); // Disable copy constructor
        void operator=( const GlobalData& ); // Disable assignment operator
        GlobalData();
        ~GlobalData();
-       ListVector* gListVector;
-       SparseMatrix* gSparseMatrix;
        void reset();   //clears all non filename parameters