]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.h
1.23.0
[mothur.git] / mothurout.h
index 5ba3d083677a35f4ef0004506bf63f25facb481f..d2a36b351902f3bc25d7c2132fb2c20f15421b23 100644 (file)
@@ -53,7 +53,7 @@ class MothurOut {
                vector<string> binLabelsInFile;
                vector<string> currentBinLabels;
                string saveNextLabel, argv, sharedHeaderMode;
-               bool printedHeaders;
+               bool printedHeaders, commandInputsConvertError;
                
                //functions from mothur.h
                //file operations
@@ -84,6 +84,9 @@ class MothurOut {
                int readNames(string, map<string, vector<string> >&);
                int readNames(string, vector<seqPriorityNode>&, map<string, string>&);
                int mothurRemove(string);
+               bool mothurConvert(string, int&); //use for converting user inputs. Sets commandInputsConvertError to true if error occurs. Engines check this.
+               bool mothurConvert(string, float&); //use for converting user inputs. Sets commandInputsConvertError to true if error occurs. Engines check this.
+               bool mothurConvert(string, double&); //use for converting user inputs. Sets commandInputsConvertError to true if error occurs. Engines check this.
        
                
                //searchs and checks
@@ -97,6 +100,7 @@ class MothurOut {
                int getNumChar(string, char);
                bool isTrue(string);
                bool isContainingOnlyDigits(string);
+               bool isNumeric1(string);
        
                
                //string manipulation
@@ -198,6 +202,7 @@ class MothurOut {
                        flowfile = "";
                        gui = false;
                        printedHeaders = false;
+                       commandInputsConvertError = false;
                        sharedHeaderMode = "";
                }
                ~MothurOut();