]> git.donarmstrong.com Git - mothur.git/blobdiff - datavector.hpp
added get.rabund and get.sabund command and fixed bug introduced by line by line...
[mothur.git] / datavector.hpp
index 4ddb1aa6fb054dfcf7d127a6d4b8dcd7998169d6..18ac6958e09b64f209a39ff51098406021f5022b 100644 (file)
@@ -3,14 +3,19 @@
 
 using namespace std;
 
-#include <iostream>
-#include <string>
-#include <vector>
-#include <map>
+#include "mothur.h"
+
+/* This class is parent to listvector, ordervector, rabundvector, sabundvector, sharedordervector, sharedrabundvector, sharedsabundvector. 
+       The child classes all contain OTU information in different forms. */
+       
 
 class RAbundVector;
 class SAbundVector;
 class OrderVector;
+class SharedListVector;
+class SharedOrderVector;
+class SharedSAbundVector;
+class SharedRAbundVector;
 
 class DataVector {
        
@@ -32,7 +37,7 @@ public:
        void setLabel(string l)         {       label = l;                      }
        string getLabel()                       {       return label;           }
 
-       //virtual RAbundVector getRAbundVector() = 0;
+       virtual RAbundVector getRAbundVector() = 0;
        virtual SAbundVector getSAbundVector() = 0;
        virtual OrderVector getOrderVector(map<string,int>* hold = NULL) = 0;