X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mothurout.h;h=968ff97221ab7e277dfba48efc01682648998f0f;hb=957d67f7d8bbadfd2930de061e89fd9b149270fd;hp=cc8bfb6b101b13b0ebe45a2eb2f5472600d6e0fc;hpb=791f42d21a85f794529fd4c912dcc27d873c25e8;p=mothur.git diff --git a/mothurout.h b/mothurout.h index cc8bfb6..968ff97 100644 --- a/mothurout.h +++ b/mothurout.h @@ -97,8 +97,16 @@ class MothurOut { string getline(istringstream&); void gobble(istream&); void gobble(istringstream&); - map readNames(string); + vector splitWhiteSpace(string& rest, char[], int); + vector splitWhiteSpace(string); + set readAccnos(string); + int readAccnos(string, vector&); + map readNames(string); + int readTax(string, map&); + int readNames(string, map&, map&); int readNames(string, map&); + int readNames(string, map&, bool); + int readNames(string, map&, int); int readNames(string, map >&); int readNames(string, vector&, map&); int mothurRemove(string); @@ -144,7 +152,7 @@ class MothurOut { int control_pressed; bool executing, runParse, jumble, gui, mothurCalling, debug; - //current files - if you add a new type you must edit optionParser->getParameters, get.current command and mothurOut->printCurrentFiles/clearCurrentFiles. + //current files - if you add a new type you must edit optionParser->getParameters, get.current command and mothurOut->printCurrentFiles/clearCurrentFiles/getCurrentTypes. string getPhylipFile() { return phylipfile; } string getColumnFile() { return columnfile; } string getListFile() { return listfile; } @@ -189,11 +197,12 @@ class MothurOut { void setTaxonomyFile(string f) { taxonomyfile = getFullPathName(f); } void setFlowFile(string f) { flowfile = getFullPathName(f); } void setBiomFile(string f) { biomfile = getFullPathName(f); } - void setProcessors(string p) { processors = p; } + void setProcessors(string p) { processors = p; mothurOut("\nUsing " + toString(p) + " processors.\n"); } void printCurrentFiles(); bool hasCurrentFiles(); void clearCurrentFiles(); + set getCurrentTypes(); private: static MothurOut* _uniqueInstance;