comp.lang.ada
 help / color / mirror / Atom feed
* Publishing selected entries in a protected object?
@ 2012-02-09 11:56 Jacob Sparre Andersen
  2012-02-09 13:42 ` Dmitry A. Kazakov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jacob Sparre Andersen @ 2012-02-09 11:56 UTC (permalink / raw)


I have a package containing a protected object, and I would like to
publish _one_ of this object's entries in the specification of the
package.

Since I want to be able to use the entry in a select statement, I can't
just encapsulate it in a procedure and make that available in the
package specification.

And if I move the declaration of the protected object to the package
specification, but move the other entries to the private part of the
protected object, I can't access the other entries from the private part
of my package.

Is there a pattern I can use?

Thanks in advance,

Jacob
-- 
"You know the world has gone crazy when the best rapper is a
 white guy, the best golfer is a black guy, the swiss hold
 the America's cup, France is accusing the U.S. of
 arrogance, and Germany doesn't want to go to war"



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

end of thread, other threads:[~2012-02-10  1:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-09 11:56 Publishing selected entries in a protected object? Jacob Sparre Andersen
2012-02-09 13:42 ` Dmitry A. Kazakov
2012-02-09 13:59 ` Georg Bauhaus
2012-02-09 18:24   ` AdaMagica
2012-02-10  1:29   ` Randy Brukardt
2012-02-09 19:29 ` Jeffrey Carter

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