X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=treenode.h;h=029cee9419cf7adf88344d1635e5709196bd5c73;hp=df30cd3a32d5ebc47a54cadf8ea0a6b47c9122f0;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=c76b65598a0b85183126bd764c83f354e9f490d1 diff --git a/treenode.h b/treenode.h index df30cd3..029cee9 100644 --- a/treenode.h +++ b/treenode.h @@ -10,9 +10,8 @@ * */ -using namespace std; - #include "mothur.h" +#include "mothurout.h" /* This class represents a node on a tree. */ @@ -23,7 +22,7 @@ class Node { ~Node() { pGroups.clear(); pcount.clear(); }; void setName(string); - void setGroup(string); + void setGroup(vector); void setBranchLength(float); void setLabel(float); void setParent(int); @@ -32,7 +31,7 @@ class Node { void setLengthToLeaves(float); string getName(); - string getGroup(); + vector getGroup(); float getBranchLength(); float getLengthToLeaves(); float getLabel(); @@ -54,12 +53,13 @@ class Node { private: string name; - string group; + vector group; float branchLength, length2leaf, label; int parent; int lchild; int rchild; int vectorIndex; + MothurOut* m; }; #endif