1 #ifndef DISPLAY_H
2 #define DISPLAY_H
3 
4 #include "calculator.h"
5 #include "fileoutput.h"
6 
7 /***********************************************************************/
8 
9 class Display {
10 
11 public:
12 	virtual void update(SAbundVector& rank) = 0;
update(vector<SharedRAbundVector * > shared,int numSeqs)13     virtual void update(vector<SharedRAbundVector*> shared, int numSeqs) {}
update(vector<SharedRAbundVector * > & shared,int numSeqs,bool pairs,map<string,int>)14     virtual void update(vector<SharedRAbundVector*>& shared, int numSeqs, bool pairs, map<string, int>) {}
15 	virtual void init(string) = 0;
16 	virtual void reset() = 0;
17 	virtual void close() = 0;
18     virtual bool isCalcMultiple() = 0;
setAll(bool)19 	virtual void setAll(bool){}
hasLciHci()20 	virtual bool hasLciHci(){ return false; }
getAll()21 	virtual bool getAll()	{	bool a; return a;	}
calcNeedsAll()22 	virtual bool calcNeedsAll()    { bool a; return a;	}
getName()23 	virtual string getName() { return ""; };
~Display()24     virtual ~Display() {}
Display()25 	Display() {  m = MothurOut::getInstance();  }
26 
27 protected:
28 	MothurOut* m;
29 
30 };
31 
32 /***********************************************************************/
33 
34 #endif
35