fd at kolibri.fm.bs.dlr.de
Fri Jan 15 08:02:41 UTC 1993
I would like to write an object that inherits the vector object and
defines arithmetic with vectors, like vector addition, vector
multiplication and so on. I defined a lobby slot realVector, but when I
try to generate new kinds of realVector with copySize, I get the
message "_Clone:Filler primitive failed". I took a look into the
programming manual and it says the _Clone:Filler primitive, that is invoked
from the copySize method, can only applied to vectors. I could rewrite
the realVector object so, that it does includes the vector instead of
inherit it, and redirect all methods like at:, at:Put:, copy, copySize:
by redirecting the methods to the included object, but I think this is
not a decent solution.
Can anybody give me a hint?
With kind regards Frank Dzaak.
Deutsche Forschungsanstalt fuer Luft- und Raumfahrt e.V.
Institut fuer Flugmechanik
Frank.Dzaak at kolibri.fm.bs.dlr.de
More information about the Self-interest