lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Base class for grobs and music_elements


From: Han-Wen Nienhuys
Subject: Base class for grobs and music_elements
Date: Wed, 5 May 2004 20:15:53 +0200

address@hidden writes:
> I am wanting to restructure Music_element to be more Grob-like.  The
> best way to do this, in my opinion, is to create a base class from
> which they both inherit.  I have been working on this, but am looking
> for a good name for this base class.  Currently I am just calling it
> Propertied_object, but would anyone else be able to come up with a
> better name?

I have bad experiences with mixing C++ inheritance with GUILE smobs -
the interactions with virtual functions and GC are hairy, and I see
little added value except for collapsing a few functions. Why are you
so keen on changing Music ?

--
Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]