comp.lang.ada
 help / color / mirror / Atom feed
From: Dmitry A.Kazakov <mailbox@dmitry-kazakov.de>
Subject: Re: runtine instanciation
Date: Mon, 17 Jun 2002 01:07:26 +0200
Date: 2002-06-17T01:07:26+02:00	[thread overview]
Message-ID: <aehr7g$716kk$1@ID-77047.news.dfncis.de> (raw)
In-Reply-To: aef96a$63qg8$1@ID-100557.news.dfncis.de

Immanuel Scholz wrote:

> Hello again,
> 
> In Ada, can create a class at runtime? Like the getClass().forClass() in
> Java.
> 
> As example create a variable from the type entered by the user at runtime.

I am not sure what you want, but I suppose that Ada.Streams is what you 
need. In short it allows you to create a class-wide object from some 
external source (like user input) without a factory. Or better to say the 
factory is distributed over the implementations of 'Input/'Read attributes.

-- 
Regards,
Dmitry Kazakov
www.dmitry-kazakov.de



  parent reply	other threads:[~2002-06-16 23:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-15 11:43 runtine instanciation Immanuel Scholz
2002-06-15 15:20 ` Simon Wright
2002-06-16 23:07 ` Dmitry A.Kazakov [this message]
2002-06-17  3:16   ` Robert C. Leif
2002-06-17 22:04     ` Dmitry A.Kazakov
2002-06-17 14:54       ` Robert C. Leif
2002-06-17 21:16         ` Robert I. Eachus
2002-06-18 22:35         ` Dmitry A.Kazakov
2002-06-17 10:07   ` Antonio Duran
replies disabled

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