On 01.06.2013 15:51, Xiangrong Fang wrote:
Hello,
Is there any built-in general Tree data structure in FPC/Lazarus
library? "General" means:
1) it is a "generic" class or its "node" is a pointer which is
suitable for general use
2) it is NOT balanced tree or binary tree, but just like a file system
tree.
In another word, I am looking for a lightweight, pure "data" class
that is TTreeView without a GUI binding.
If you are using 2.7.1 you can take a look at the gtree unit from
fcl-stl:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-stl/src/gtree.pp?revision=23453&view=markup
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal