]> git.donarmstrong.com Git - mothur.git/blobdiff - groupmap.h
added read.shared, broke up globaldata a bit
[mothur.git] / groupmap.h
index a6b6fd7c25158a4ee7195d0f8e0432dfdecd078a..de69ca4d94c5e98342c666c7de0a768f61a3b267 100644 (file)
 
 class GroupMap {
 public:
+       GroupMap() {};
        GroupMap(string);
        ~GroupMap();
        void readMap();
        int getNumGroups();
        string getGroup(string);
+       void setGroup(string, string);
        vector<string> namesOfGroups;
        map<string, int> groupIndex;  //groupname, vectorIndex in namesOfGroups. - used by collectdisplays.
                
 private:
        ifstream fileHandle;
        string groupFileName;
-       int numGroups, index;
+       int index;
        map<string, string>::iterator it;
        void setNamesOfGroups(string); 
        map<string, string> groupmap; //sequence name and groupname