comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com (Tom Moran)
Subject: Re: Ada Type Information
Date: 1999/03/05
Date: 1999-03-05T00:00:00+00:00	[thread overview]
Message-ID: <36e04564.9775393@news.pacbell.net> (raw)
In-Reply-To: 36E03843.3AD74457@lmco.com

>given a record type, the
>type starting bit
>position, and length in bits of all fields of a record
If there's no rep spec, then there's no guaranteed layout.  Different
compilers may do it differently, or according to the phases of the
moon.  
  At run time, if you have an appropriate piece of code, it could
determine things using the storage place attributes, eg
R.Field1'Position, R.Field1.First_Bit, etc.  Could you make a tool
using ASIS to tell the types, and generate code to tell the positions?




  reply	other threads:[~1999-03-05  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-05  0:00 Ada Type Information Sam Carnicelli
1999-03-05  0:00 ` Tom Moran [this message]
1999-03-05  0:00   ` Sam Carnicelli
1999-03-05  0:00 ` dewar
1999-03-06  0:00   ` Tom Moran
1999-03-08  0:00     ` Sam Carnicelli
1999-03-08  0:00   ` Sam Carnicelli
1999-03-09  0:00     ` robert_dewar
1999-03-09  0:00   ` korisko
1999-03-05  0:00 ` dennison
1999-03-08  0:00   ` Sam Carnicelli
1999-03-08  0:00     ` dennison
1999-03-08  0:00       ` Sam Carnicelli
1999-03-09  0:00       ` robert_dewar
replies disabled

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