From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,72e4cfc5373bff5d X-Google-Attributes: gid103376,public From: adaworks@netcom.com (AdaWorks) Subject: Re: Hiding Things In Children Date: 1996/03/23 Message-ID: #1/1 X-Deja-AN: 143841083 sender: adaworks@netcom21.netcom.com references: <314F264A.7D55368C@srv.net> organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: comp.lang.ada Date: 1996-03-23T00:00:00+00:00 List-Id: 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