Re: What exactly is a 'record' in Ada 95?
From: Dmitry A. Kazakov (mailbox_at_dmitry-kazakov.de)
Date: 09/08/04
- Next message: Mail Delivery System: "Undelivered Mail Returned to Sender"
- Previous message: matthias_k: "Re: What exactly is a 'record' in Ada 95?"
- In reply to: matthias_k: "What exactly is a 'record' in Ada 95?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 8 Sep 2004 20:22:01 +0200
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
- Next message: Mail Delivery System: "Undelivered Mail Returned to Sender"
- Previous message: matthias_k: "Re: What exactly is a 'record' in Ada 95?"
- In reply to: matthias_k: "What exactly is a 'record' in Ada 95?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|