]> git.donarmstrong.com Git - mothur.git/blobdiff - validcalculator.h
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / validcalculator.h
index 1534432799d2dfe8a9ef1e52fefe80d9096488dc..6cdd4ae3d9cc48176b1a525723b5b5c1cc78fdd2 100644 (file)
@@ -9,9 +9,9 @@
  *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
  *
  */
-using namespace std;
 
 #include "mothur.h"
+#include "mothurout.h"
 
 //This class contains a list of all valid calculators in Mothur.  
 //It has a function which will tell you if your calculator is valid for the given parameter.
@@ -23,6 +23,8 @@ class ValidCalculators {
                ValidCalculators();
                ~ValidCalculators();
                bool isValidCalculator(string, string);
+               void printCalc(string, ostream&);
+               string printCalc(string);
                
        private:
                map<string, string> single;
@@ -31,6 +33,13 @@ class ValidCalculators {
                map<string, string> summary;
                map<string, string> sharedrarefaction;
                map<string, string> sharedsummary;
+               map<string, string> vennsingle;
+               map<string, string> vennshared;
+               map<string, string> treegroup;
+               map<string, string> matrix;
+               map<string, string> heat;
+               map<string, string> boot;
+               map<string, string> distance;
                map<string, string>::iterator it;
                
                void initialSingle();
@@ -39,6 +48,15 @@ class ValidCalculators {
                void initialSharedRarefact();
                void initialSummary();
                void initialSharedSummary();
+               void initialVennSingle();
+               void initialVennShared();
+               void initialTreeGroups();
+               void initialMatrix();
+               void initialBoot();
+               void initialDistance();
+               void initialHeat();
+               
+               MothurOut* m;
 };
 
 #endif