From: "RasikaSrinivasan@gmail.com" <RasikaSrinivasan@gmail.com>
Subject: Package Hierarchy and Private functions
Date: Wed, 18 Mar 2009 05:22:44 -0700 (PDT)
Date: 2009-03-18T05:22:44-07:00 [thread overview]
Message-ID: <a24dfb20-e831-4d0a-8db9-2a890e89285b@p11g2000yqe.googlegroups.com> (raw)
Friends
Supposing we have 2 packages like :
package P is
type Pvt_T is private ;
private
type Pvt_T is ... ;
procedure Pvt_Proc(p : in out Pvt_T) ;
end P ;
---------------------
package P.C is
....
end P.C ;
------------------
Is there a way for P.C to access Pvt_Proc (instead of making it
public). I guess this may be analogous to protected in C++?
Does P.C has a special relationship to P?
any pointers/advice appreciated. thanks, srini
next reply other threads:[~2009-03-18 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-18 12:22 RasikaSrinivasan [this message]
2009-03-18 12:42 ` Package Hierarchy and Private functions Maciej Sobczak
2009-03-18 12:56 ` Srini -
2009-03-18 14:19 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox