8 /* This class is parent to listvector, ordervector, rabundvector, sabundvector, sharedordervector, sharedrabundvector, sharedsabundvector.
9 The child classes all contain OTU information in different forms. */
15 class SharedListVector;
16 class SharedOrderVector;
17 class SharedSAbundVector;
18 class SharedRAbundVector;
23 DataVector(){};// : maxRank(0), numBins(0), numSeqs(0){};
24 DataVector(string l) : label(l) {};
25 DataVector(const DataVector& dv) : label(dv.label){};//, maxRank(dv.maxRank), numBins(dv.numBins), numSeqs(dv.numSeqs) {};
26 DataVector(ifstream&);
29 // virtual int getNumBins() { return numBins; }
30 // virtual int getNumSeqs() { return numSeqs; }
31 // virtual int getMaxRank() { return maxRank; }
33 virtual void resize(int) = 0;
34 virtual int size() = 0;
35 virtual void print(ostream&) = 0;
37 void setLabel(string l) { label = l; }
38 string getLabel() { return label; }
40 virtual RAbundVector getRAbundVector() = 0;
41 virtual SAbundVector getSAbundVector() = 0;
42 virtual OrderVector getOrderVector(map<string,int>* hold = NULL) = 0;
51 /***********************************************************************/