comp.lang.ada
 help / color / mirror / Atom feed
* How Can I Create A Class Dynamically
@ 2001-09-24 16:32 Anthony E. Glover
  2001-09-24 16:48 ` Samuel Tardieu
  2001-10-01 12:35 ` Lutz Donnerhacke
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony E. Glover @ 2001-09-24 16:32 UTC (permalink / raw)


I have a class hierarchy defined and I would like to be able to read a
string and then dynamically creating a pointer to an object of the type
specified by the string. Similar I think to class loading and class
factories in Java. Can this be done in Ada95. If so, how. I have looked at
the Ada.Tags packages and this looks like it might be helpfull, but I'm not
quite sure how to make use of it. I would basically like to be able to avoid
having to specify a case statement or if block when initially creating my
objects.

Thanks,
Tony







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

end of thread, other threads:[~2001-10-04 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-24 16:32 How Can I Create A Class Dynamically Anthony E. Glover
2001-09-24 16:48 ` Samuel Tardieu
2001-09-25 12:40   ` Anthony E. Glover
2001-10-01 12:35 ` Lutz Donnerhacke
2001-10-02 23:13   ` R. Tim Coslet
2001-10-04  8:55     ` Lutz Donnerhacke
2001-10-04 16:39       ` Pascal Obry
2001-10-04 17:06       ` R. Tim Coslet

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