#if !defined(AFX_YAHOOTREE_H__0EEE6A43_8253_11D3_9345_0060674E1056__INCLUDED_)
#define AFX_YAHOOTREE_H__0EEE6A43_8253_11D3_9345_0060674E1056__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif
#include<string>
#include<iostream>
#include<vector>
#include<stack>
#include"YahooNode.h"
using namespace std;
class YahooTree
{
YahooNode * root;
public:
void printAsHTML(map<string, URL> & m);
friend istream & operator>>(istream & is, YahooTree & t);
YahooTree(string t){
root = new YahooNode(t);};
YahooTree() : root(0) {};
virtual ~YahooTree(){
delete root;};
};
#endif