comp.lang.ada
 help / color / mirror / Atom feed
From: cosc19z5@Bayou.UH.EDU (Spasmo)
Subject: Another OOP Question
Date: 1996/08/18
Date: 1996-08-18T00:00:00+00:00	[thread overview]
Message-ID: <4v609i$fgj@Masala.CC.UH.EDU> (raw)


Hey all, me again :)

Ok, here's another OOP question about accessing private members.
Right now let's say I have a class called A, and B inherits from
A.  Now let's say that B needs to access a private data member
in A -- is there any way I can do this without placing B into
a Child package?  The reason I'd like to now is because I'm
confronted with such a scenario and Child packages (among other
things) will make all of my parents members visible which is
the last thing I want to do.

Thanks for any assistance.


--
Spasmo
"Everyone has secrets, but sometimes you get caught,
 So if it's just between us, my silence can be bought"
	"Blackmail" by Sloppy Seconds





             reply	other threads:[~1996-08-18  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-18  0:00 Spasmo [this message]
1996-08-19  0:00 ` Another OOP Question Jon S Anthony
  -- strict thread matches above, loose matches on Subject: below --
1996-08-20  0:00 Spasmo
1996-08-20  0:00 ` Jon S Anthony
1996-08-20  0:00   ` Robert I. Eachus
1996-08-21  0:00 Spasmo
1996-08-22  0:00 ` Jon S Anthony
1996-08-21  0:00 Spasmo
replies disabled

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