comp.lang.ada
 help / color / mirror / Atom feed
From: adaworks@netcom.com (AdaWorks)
Subject: Re: Hiding Things In Children
Date: 1996/03/23
Date: 1996-03-23T00:00:00+00:00	[thread overview]
Message-ID: <adaworksDopIMG.7Gq@netcom.com> (raw)
In-Reply-To: 314F264A.7D55368C@srv.net

Paul Whittington (paul@srv.net) wrote:
: How, in a child class, do I hide (make them private) class methods
: inherited from the parent class?

  If I understand your question, and I'm not certain I do, consider
  using private children (private child packages).

  The public part of a private child package is only visible to 
  the package body of descendants rooted in the same hierarchy
  as the private child.  

  Actually, you will find private child units to be a powerful feature
  of Ada 95 once you take the time to experiment with them.

  Richard Riehle
  adaworks@netcom.com
  
-- 

richard@adaworks.com
AdaWorks Software Engineering
Suite 27
2555 Park Boulevard
Palo Alto, CA 94306
(415) 328-1815
FAX  328-1112




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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-19  0:00 Hiding Things In Children Paul Whittington
1996-03-23  0:00 ` AdaWorks [this message]
replies disabled

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