From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: What exactly is a 'record' in Ada 95?
Date: Wed, 8 Sep 2004 20:22:01 +0200
Date: 2004-09-08T20:22:01+02:00 [thread overview]
Message-ID: <1akppivjgr02c$.c1hh11ltc4lm.dlg@40tude.net> (raw)
In-Reply-To: chmtr8$6lp$06$1@news.t-online.com
On Wed, 08 Sep 2004 14:27:32 +0200, matthias_k wrote:
> ... Is 'record' the only type modifier?
It depends on what you count under type modifiers. Very roughly Ada's "type
modifiers":
abstract - abstract type = it has no instances (values), "interface"
access - pointer
aliased - values can be referenced (can get a pointer to)
all - target values can be in any storage pool
array - true array
class - class-wide type (has polymorphic values)
delta / digits - used for real numbers to specify precision
in / in out / out - standard subtypes of subroutine parameters
limited - type which values cannot be copied
mod - used with modular numbers
new - a type clone
new...with - a type extension
null record - has no members, empty record
private - a type which implementation is hidden
protected - a type which values are concurrently used in a safe way
range - used with numeric types to specify values range
record - has members, but not protected
tagged - a class member type (see class above), an extensible type
task - values are active objects, "threads"
--
Regards,
Dmitry Kazakov
www.dmitry-kazakov.de
prev parent reply other threads:[~2004-09-08 18:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-08 12:27 What exactly is a 'record' in Ada 95? matthias_k
2004-09-08 12:58 ` Jim Rogers
2004-09-08 18:05 ` matthias_k
2004-09-08 13:12 ` Marc A. Criley
2004-09-08 18:08 ` matthias_k
2004-09-08 13:30 ` Peter Hermann
2004-09-08 18:09 ` matthias_k
2004-09-09 12:06 ` Peter Hermann
2004-09-18 4:14 ` Richard Pennington
2004-09-08 13:40 ` Georg Bauhaus
2004-09-08 18:22 ` Dmitry A. Kazakov [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox