]> git.donarmstrong.com Git - mothur.git/blobdiff - validparameter.h
added the Calculators Thomas made in the fall. Added parameter and command error...
[mothur.git] / validparameter.h
index d3fb2b7071fc79ab875ad3f696a4d8c90cf8fde7..61b1c5b2d90ee0e805bc205c5fe8b19b5a4a5c97 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef VALIDPARAMETERS_H
+#define VALIDPARAMETERS_H
+
 /*
  *  validparameter.h
  *  Dotur
@@ -8,10 +11,8 @@
  */
 using namespace std;
 
-#include <Carbon/Carbon.h>
-#include <iostream>
-#include <string>
-#include <map>
+#include "mothur.h"
+#include "utilities.hpp"
 
 //This class contains a list of all valid parameters in Mothur.  
 //It has a function which will tell you if your parameter is valid.
@@ -24,7 +25,33 @@ class ValidParameters {
                ValidParameters();
                ~ValidParameters();
                bool isValidParameter(string);
+               bool isValidParameter(string, string, string);
+               vector <string> addParameters(string[], int);
+               void initCommandParameters();
+               void initParameterRanges();
+
        private:
-               map<string, string> parameters;
+               map<string, string> readdist;
+               map<string, string> readotu;
+               map<string, string> readtree;
+               map<string, string> cluster;
+               map<string, string> deconvolute;
+               map<string, string> parsimony;
+               map<string, string> collectsingle;
+               map<string, string> collectshared;
+               map<string, string> rarefactsingle;
+               map<string, string> rarefactshared;
+               map<string, string> summarysingle;
+               map<string, string> summaryshared;
+               map<string, string> unifracweighted;
+               map<string, string> unifracunweighted;
+               map<string, string> libshuff;
+               map<string, string> heatmap;
+               
+               map<string, string>::iterator it;
+               map<string, vector<string> > commandParameters;
+               map<string, vector<string> > parameterRanges;
+
+};
 
-};
\ No newline at end of file
+#endif