Re: Slot characteristic inheritance
Pierre Lorenzon <[email protected]> Thu, 07 Jun 2007 09:04:27 +0200 (CEST)
| Newsgroups | gmane.emacs.eieio |
|---|---|
| Message-ID | <[email protected]> |
Hi Eric I'll download the cvs version and try to make a patch. From: "Eric M. Ludlam" <[email protected]> Subject: Re[2]: [cedet-eieio] Slot characteristic inheritance Date: Wed, 6 Jun 2007 23:05:10 -0400 > Hi Pierre, > > In the code section I mentioned below, each attribute of the slot > will need to be looked at to see if should be preserved from the > parent (and an error thrown if an overload attempted), or the new > attribute should apply. Ok it depends on the nature of attribute ! > > For example, the :allocation and :protection should not be > allowed Sure ! It concerns the deep structure of the data structure. I do not remember if java for instance allows to change protection since I have not been devlopping in java since many years ! > to change, but I agree that the customization slot should be > overloadable. The customize group, however, should probably remain > constant. OK for the customization. I think however that customization groupss could at least be incremented. When you implement child of a class it for more specialized purpose and the object will probably be involved in certain groups which are absolutely not concerned by the parent class. Regards Pierre ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/