comp.lang.ada
 help / color / mirror / Atom feed
* How to?: Re-dispatching within an inherited method
@ 1999-08-09  0:00 Anthony E. Glover
  1999-08-09  0:00 ` David C. Hoos, Sr.
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony E. Glover @ 1999-08-09  0:00 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

Is it possible to re-dispatch a method call within an inherited method?
For example:

package A defines a type widget that has methods widget_size and run_widget.
package B defines a type bigwidget that has an overriding method for
widget_size, but
inherits the run_widget method without modification.
Within package A, run_widget makes a call to widget_size.  Is it
possbile to force
a re-dispatch such that the appropriate widget_size method gets called based
on the object passed into run_widget?

Thanks for any help,
Tony
aeg@hiwaay.net

[-- Attachment #2: Card for Anthony E. Glover --]
[-- Type: text/x-vcard, Size: 361 bytes --]

begin:vcard 
n:Glover;Anthony E.
tel;fax:256-721-1816
tel;home:256-837-7017
tel;work:256-721-7714 X249
x-mozilla-html:FALSE
url:www.elmco.com
org:ELMCO, Inc.
version:2.1
email;internet:aeg@hiwaay.net
title:Senior Software Engineer
adr;quoted-printable:;;6000 Technology Drive=0D=0ASuite N;Huntsville;AL;35805;USA
x-mozilla-cpt:;1
fn:Anthony E. Glover
end:vcard

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-08-21  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-09  0:00 How to?: Re-dispatching within an inherited method Anthony E. Glover
1999-08-09  0:00 ` David C. Hoos, Sr.
1999-08-17  0:00   ` Matthew Heaney
1999-08-17  0:00     ` David C. Hoos, Sr.
1999-08-18  0:00       ` Matthew Heaney
1999-08-18  0:00         ` Anthony E. Glover
1999-08-19  0:00           ` Matthew Heaney
1999-08-21  0:00             ` Anthony E. Glover

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox