[Lumiera] Tree Collection
Ichthyostega
prg at ichthyostega.de
Wed Dec 31 10:14:46 CET 2008
Joel Holdsworth schrieb:
> I just thought I'd let you know that I'm in the process of reworking the
> layout code of the timeline widget, and I need to add a STL style tree
> collection template class. I found one here licensed under the GPL 2/3:
>
> http://www.aei.mpg.de/~peekas/tree/
>
> It looks good to me, so I'm going to add it to lib, unless anyone of you have
> an objection.
Hi Joel,
could just take a quick glance -- basically I agree with what Christian
said. Seemingly it helps you get ahead, it's GPL code, seems to be used,
and maintained, is commented etc...
Incidentally, there is one thing you should consider. Using such a tree store
doesn't look like being the final solution. Because, according to our latest
discussions, the "entities" you are using in the gui will be either directly
the real entities in the model, or thin (proxy) wrappers. Thus, in the course
of integration, our job will be either to completely pull apart such a library
implementation to find all the points we may be able to hook in, or (which
probably is much easier) to rewrite it from scratch as proxying the treelike
structure in the model.
Maybe it would be helpful, in preparation of such a job, if you could define
the actual API you are *using* with regards to this tree. As with all stl-ish
datastructures, the provided API is quite wide and would be a lot of work
to rewrite or even to analyse in detail. For example, it contains various
sorts of iterators, which I doubt we'll ever be using... ;-)
Cheers,
Hermann
More information about the Lumiera
mailing list