]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkUtilities.h
Obtaining the tree boxes related to a sigle box. The classes changed were Utilities...
[bbtk.git] / kernel / src / bbtkUtilities.h
index 5a68f5f8b9cf379648b2c4d9ed687faf827d581c..e860fea3f9edb69528e62b7ddb68d241d4b0affa 100644 (file)
@@ -201,7 +201,34 @@ namespace bbtk
     
     
   };
-
+class NodeTreeC
+{
+public:
+       std::string data;
+       std::vector<NodeTreeC> childs;
+
+       NodeTreeC();
+       NodeTreeC(std::string _data);
+       ~NodeTreeC();
+       void insertChild(std::string _data);
+       void treeTour();
+       void setData(std::string _data);
+};
+/*
+class TreeC
+{
+public:
+       NodeTreeC root;
+
+  TreeC();
+       TreeC(std::string _data);
+       ~TreeC();
+       void insertRoot(std::string _data);
+       void treeTour();
+       void insertData(std::string _data);
+       TreeC getSubTree();
+};
+ */
   
 } // namespace bbtk