comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Runtime type selection
Date: Mon, 12 Oct 2009 11:26:22 +0200
Date: 2009-10-12T11:26:23+02:00	[thread overview]
Message-ID: <4ad2f63e$0$6581$9b4e6d93@newsspool3.arcor-online.net> (raw)
In-Reply-To: <4ad23819$0$6256$4f793bc4@news.tdc.fi>

Niklas Holsti schrieb:

> Did you read about the package Ada.Tags (RM 3.9)?

Also, http://www.adaic.org/standards/05rat/html/Rat-2-6.html

> Perhaps some expert can explain why this reflection capability (find
> tags for all derived types in a class) was not included in Ada.Tags?
> Perhaps because Ada run-time systems do not need such a function for
> their own purposes?

Not an expert, but finding the tagged types after the fact
and when using GNAT can be done, sort of, with gnatxref -d .

Or, if the names of the types share a common substring,
using gnatfind.



  reply	other threads:[~2009-10-12  9:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 16:41 Runtime type selection xorque
2009-10-11 17:02 ` Niklas Holsti
2009-10-11 17:15   ` xorque
2009-10-11 19:54     ` Niklas Holsti
2009-10-12  9:26       ` Georg Bauhaus [this message]
2009-10-12 12:02         ` xorque
2009-10-12 23:42       ` Randy Brukardt
2009-10-13  6:50         ` Niklas Holsti
2009-10-13  0:59       ` Adam Beneschan
2009-10-13  7:01         ` Niklas Holsti
2009-10-11 17:15 ` mockturtle
2009-10-11 20:06 ` Dmitry A. Kazakov
2009-10-13 10:45   ` Colin Paul Gloster
2009-10-13 10:17     ` Dmitry A. Kazakov
2009-10-13 15:11 ` xorque
2009-10-13 15:50   ` Dmitry A. Kazakov
2009-10-13 16:02     ` xorque
replies disabled

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