comp.lang.ada
 help / color / mirror / Atom feed
From: "Anthony E. Glover" <aeg@hiwaay.net>
Subject: How to?: Re-dispatching within an inherited method
Date: 1999/08/09
Date: 1999-08-09T00:00:00+00:00	[thread overview]
Message-ID: <37AF0ADE.3D80FEB3@hiwaay.net> (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

             reply	other threads:[~1999-08-09  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-09  0:00 Anthony E. Glover [this message]
1999-08-09  0:00 ` How to?: Re-dispatching within an inherited method 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
replies disabled

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