comp.lang.ada
 help / color / mirror / Atom feed
* Package Hierarchy and Private functions
@ 2009-03-18 12:22 RasikaSrinivasan
  2009-03-18 12:42 ` Maciej Sobczak
  2009-03-18 14:19 ` Robert A Duff
  0 siblings, 2 replies; 4+ messages in thread
From: RasikaSrinivasan @ 2009-03-18 12:22 UTC (permalink / 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



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

end of thread, other threads:[~2009-03-18 14:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-18 12:22 Package Hierarchy and Private functions RasikaSrinivasan
2009-03-18 12:42 ` Maciej Sobczak
2009-03-18 12:56   ` Srini -
2009-03-18 14:19 ` Robert A Duff

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