Re: [cedet-eieio] Slot characteristic inheritance
Brought to you by:
zappo
From: Pierre L. <pol...@wa...> - 2007-06-07 07:05:04
|
Hi Eric I'll download the cvs version and try to make a patch. From: "Eric M. Ludlam" <er...@si...> 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 |