comp.lang.ada
 help / color / mirror / Atom feed
From: Corey Minyard <minyard@metronet.com>
Subject: Dynamic dispatch and calling parent
Date: 1996/10/23
Date: 1996-10-23T00:00:00+00:00	[thread overview]
Message-ID: <m2k9si6wnp.fsf@metronet.com> (raw)



I've looked through the FAQs, tutorials, and the rational and LRM and
I haven't found an answer to my question.  I am trying to create a
dynamically dispached function.  I want the function for the child
type to be able to call the parent's function much like you can in
Java, Oberon-2, C++, etc.  This way, the private parent portion may be
operated on.  However, I can't figure out how; my best guess is that
it is not possible.  Currently I am defining static and dynamically
dispached versions of the function and calling the static versions
from the child.  However, I consider this less than optimal.  I would
be disappointed if Ada couldn't do this.

Any help would be appreciated.  And this probably should be a FAQ
item.

Thanks,

Corey
-- 
Corey Minyard               Internet:  minyard@metronet.com
  Work: minyard@nortel.ca       UUCP:  minyard@wf-rch.cirr.com




             reply	other threads:[~1996-10-23  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-23  0:00 Corey Minyard [this message]
1996-10-23  0:00 ` Dynamic dispatch and calling parent Martin Lorentzon
replies disabled

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