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