comp.lang.ada
 help / color / mirror / Atom feed
* Hiding Things In Children
@ 1996-03-19  0:00 Paul Whittington
  1996-03-23  0:00 ` AdaWorks
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Whittington @ 1996-03-19  0:00 UTC (permalink / raw)


How, in a child class, do I hide (make them private) class methods
inherited from the parent class?




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

* Re: Hiding Things In Children
  1996-03-19  0:00 Hiding Things In Children Paul Whittington
@ 1996-03-23  0:00 ` AdaWorks
  0 siblings, 0 replies; 2+ messages in thread
From: AdaWorks @ 1996-03-23  0:00 UTC (permalink / raw)


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




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

end of thread, other threads:[~1996-03-23  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-03-19  0:00 Hiding Things In Children Paul Whittington
1996-03-23  0:00 ` AdaWorks

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