]> git.donarmstrong.com Git - mothur.git/blobdiff - display.h
working on sffinfo command.
[mothur.git] / display.h
index 17867c8197575725d9361daf514c5431039f7429..8671fa6fde96ed137c48b0e9763a029f942df8fd 100644 (file)
--- a/display.h
+++ b/display.h
@@ -7,21 +7,26 @@
 #include "fileoutput.h"
 
 
-using namespace std;
-
 /***********************************************************************/
 
 class Display {
        
 public:
        virtual void update(SAbundVector* rank) = 0;
-       virtual void update(SharedRAbundVector* shared1, SharedRAbundVector* shared2, int numSeqs, int numGroupComb) = 0;
+       virtual void update(vector<SharedRAbundVector*> shared, int numSeqs, int numGroupComb) = 0;
        virtual void init(string) = 0;
        virtual void reset() = 0;
        virtual void close() = 0;
+       virtual bool isCalcMultiple() = 0;
+       virtual void setAll(bool){}
+       virtual bool getAll()   {       bool a; return a;       }
+       virtual string getName() { return ""; };
+       virtual ~Display() {}
+       Display() {  m = MothurOut::getInstance();  }
+       
+protected:
+       MothurOut* m;
        
-private:
-
 };
 
 /***********************************************************************/