#ifndef TREE_H
#define TREE_H

#include "node.h"
#include "prog1.h"


struct Name;
class Bnode;

class Tree
{
 public:
   Tree();
   void set_root(vector<Name>& holder);
   void make_tree(Bnode * the_root, vector<Name>& holder);
   Bnode* get_root_at_left();
   Bnode* get_root(){return root;}
   void print(Bnode * the_root);
   int get_depth(Bnode * the_root, int height);
   int get_nary_depth(Bnode * the_root, int height);
 private:
   Bnode * root;
};

#endif  //TREE_H