|
Posted by Sanders Kaufman on 07/29/07 18:19
Toby A Inkster wrote:
> Jerry Stuckle wrote:
>
>> It's aggregation, not inheritance.
>
> Despite the name of the function, aggregate() actually does something a
> lot closer to multiple-inheritance than what is normally considered
> aggregation. The properties and methods of the "aggregated" class are
> taken on by the given object.
The way I solved this, I think, is to have one class that extends a base
class, and then another that extends the extended base class.
I *think* it'll work - but I cant' be sure until I try it or one of
y'all says it won't.
Navigation:
[Reply to this message]
|