"Chris Morris" <chrismo / clabs.org> schrieb im Newsbeitrag
news:3FFB4EA3.8070201 / clabs.org...
> Robert Klemme wrote:
>
> >I'd just define "inherited" in class Main and not Root.
> >
> >
> In my example, the subclasses descend from Root, not Main.

Then I'd define the class collection in Root and not Main.  My point was
simply to put both into the same class.  If you put it into Root you can
even extend the scheme so that for sub classes "inherited" is
automatically defined, in order to make this work recursively.

Regards

    robert