]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.h
added pcr.seqs command. fixed bug in rarefacftion.single that caused parsing error...
[mothur.git] / mothurout.h
index d2a36b351902f3bc25d7c2132fb2c20f15421b23..e1c8222ae1938e8b63422cc9ee6567d309b668f5 100644 (file)
 
 #include "mothur.h"
 
+/***********************************************/
+struct logger {
+    
+    logger() {}
+    ~logger() {}
+    
+    template< class T >
+    logger& operator <<( const T& o ) {
+        cout << o; return *this;
+    }
+    
+    logger& operator<<(ostream& (*m)(ostream&) ) {
+        cout << m; return *this;
+    }
+    
+}; 
 /***********************************************/
 
 class MothurOut {
@@ -122,7 +138,7 @@ class MothurOut {
                int getRandomIndex(int); //highest
 
                int control_pressed;
-               bool executing, runParse, jumble, gui;
+               bool executing, runParse, jumble, gui, mothurCalling;
                
                //current files - if you add a new type you must edit optionParser->getParameters, get.current command and mothurOut->printCurrentFiles/clearCurrentFiles.
                string getPhylipFile()          { return phylipfile;            }
@@ -203,6 +219,7 @@ class MothurOut {
                        gui = false;
                        printedHeaders = false;
                        commandInputsConvertError = false;
+            mothurCalling = false;
                        sharedHeaderMode = "";
                }
                ~MothurOut();