comp.lang.ada
 help / color / mirror / Atom feed
* Private primitive operations available to entire package hierarchy. Can it be done?
@ 2005-07-07 16:06 Lucretia
  2005-07-07 16:17 ` OT: Joke Adrien Plisson
  2005-07-07 19:10 ` Private primitive operations available to entire package hierarchy. Can it be done? Randy Brukardt
  0 siblings, 2 replies; 20+ messages in thread
From: Lucretia @ 2005-07-07 16:06 UTC (permalink / raw)


Hi,

In my work with wxAda, I've found a need for some primitives to be
private to the outside of the "wx." package hierarchy, yet packages
within "wx." need to acces them.

e.g.

The package "wx.Window" contains a function which creates an Ada type
rooted at Window_Type for a specific C++ instance type and class name
(i.e. "wxWindow", "wxTopLevelWindow", etc.). This is also required in
other packages, yet I don't want an application using wxAda to be able
to see/use it at all.

I also need to be able to do this without causing cyclic dependencies
as I can see this happening quite easily.

I have also added a factory to allow creation of Ada types from a C++
class name, at the moment, I register each type within the statement
part of a package body. Is there an easier way register these
factories? Currently to register a factory the package needs to be
"with'd".

Thanks,
Luke.

P.S: Has Ada0X been put back another year?




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

end of thread, other threads:[~2005-08-08 20:47 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 16:06 Private primitive operations available to entire package hierarchy. Can it be done? Lucretia
2005-07-07 16:17 ` OT: Joke Adrien Plisson
2005-07-07 16:24   ` Matthew Heaney
2005-07-07 19:10 ` Private primitive operations available to entire package hierarchy. Can it be done? Randy Brukardt
2005-07-13 15:40   ` Lucretia
2005-07-19 23:19     ` Randy Brukardt
2005-07-20 18:14       ` Lucretia
2005-07-21  3:10         ` Randy Brukardt
2005-07-25 18:14           ` Lucretia
2005-07-25 23:58             ` Randy Brukardt
2005-07-27 17:36               ` Lucretia
2005-07-27 21:28                 ` Randy Brukardt
2005-07-28 10:09                   ` Lucretia
2005-07-29  0:40                     ` Randy Brukardt
2005-08-02 15:55                       ` Lucretia
2005-08-03 18:26                         ` Lucretia
2005-08-03 20:04                           ` Randy Brukardt
2005-08-03 20:03                         ` Randy Brukardt
2005-08-08 18:04                           ` Lucretia
2005-08-08 20:47                             ` Randy Brukardt

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