]> git.donarmstrong.com Git - mothur.git/blob - display.h
created mothurOut class to handle logfiles
[mothur.git] / display.h
1 #ifndef DISPLAY_H
2 #define DISPLAY_H
3
4 #include "sabundvector.hpp"
5 #include "sharedsabundvector.h"
6 #include "calculator.h"
7 #include "fileoutput.h"
8
9
10 /***********************************************************************/
11
12 class Display {
13         
14 public:
15         virtual void update(SAbundVector* rank) = 0;
16         virtual void update(vector<SharedRAbundVector*> shared, int numSeqs, int numGroupComb) = 0;
17         virtual void init(string) = 0;
18         virtual void reset() = 0;
19         virtual void close() = 0;
20         virtual bool isCalcMultiple() = 0;
21         virtual void setAll(bool){}
22         virtual bool getAll()   {       bool a; return a;       }
23         virtual string getName() { return ""; };
24         virtual ~Display() {}
25         Display() {  m = MothurOut::getInstance();  }
26         
27 protected:
28         MothurOut* m;
29         
30 };
31
32 /***********************************************************************/
33
34 #endif