X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=formatmatrix.h;fp=formatmatrix.h;h=a02ef6cc27ac634eda25ec0c5b7cbc81b13c121a;hb=e1cf60b82a48d4d96e3a696a2d221c56cfb0b298;hp=0000000000000000000000000000000000000000;hpb=92f998cc7debc4bf3e8594848586b8153d96db16;p=mothur.git diff --git a/formatmatrix.h b/formatmatrix.h new file mode 100644 index 0000000..a02ef6c --- /dev/null +++ b/formatmatrix.h @@ -0,0 +1,43 @@ +#ifndef FORMATMATRIX_H +#define FORMATMATRIX_H + +/* + * formatmatrix.h + * Mothur + * + * Created by westcott on 1/13/10. + * Copyright 2010 Schloss Lab. All rights reserved. + * + */ + +#include "mothur.h" +#include "listvector.hpp" +#include "nameassignment.hpp" + + +//********************************************************************************************************************** + +class FormatMatrix { + +public: + FormatMatrix(){ } + virtual ~FormatMatrix() {} + + virtual void read(NameAssignment*){}; + + void setCutoff(float c) { cutoff = c; } + ListVector* getListVector() { return list; } + string getFormattedFileName() { return distFile; } + vector getRowPositions() { return rowPos; } + +protected: + ListVector* list; + float cutoff; + string distFile; + vector rowPos; +}; + +//********************************************************************************************************************** + +#endif +