+//---------NodeTree---------------
+
+NodeTreeC::NodeTreeC()
+{
+
+}
+
+NodeTreeC::NodeTreeC(std::string _data)
+{
+ data = _data;
+}
+
+NodeTreeC::~NodeTreeC()
+{
+
+}
+
+void NodeTreeC::insertChild(std::string _data)
+{
+ NodeTreeC temp = NodeTreeC(_data);
+ childs.push_back(temp);
+}
+
+void NodeTreeC::treeTour()
+{
+ std::cout <<"data "<< data << std::endl;
+ std::cout <<"size "<< childs.size() << std::endl;
+ for(int i = 0 ; i < childs.size(); i++)
+ {
+ childs[i].treeTour();
+ }
+}
+
+void NodeTreeC::setData(std::string _data)
+{
+ data = _data;
+}
+
+
+//---------Tree------------
+/*
+TreeC::TreeC()
+{
+
+}
+
+TreeC::TreeC(std::string _data)
+{
+ root = NodeTreeC(_data);
+}
+
+TreeC::~TreeC()
+{
+
+}
+
+void TreeC::insertRoot(std::string _data)
+{
+ NodeTreeC temp = NodeTreeC(_data);
+ root = temp;
+}
+
+void TreeC::treeTour()
+{
+ root.treeTour();
+}
+
+void TreeC::insertData(std::string _data)
+{
+
+}
+
+TreeC* TreeC::getSubTree()
+{
+ TreeC temp;
+ temp.root = root.childs[0];
+ return ;
+}
+*/
+