]> 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 c03c034f41b6308b4945753147abda65cddf48d7..61b1c5b2d90ee0e805bc205c5fe8b19b5a4a5c97 100644 (file)
@@ -12,6 +12,7 @@
 using namespace std;
 
 #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,9 +25,32 @@ 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;
 
 };