comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: PRIVATE abstract data type in ADS
Date: 26 Oct 2002 11:11:17 +0200
Date: 2002-10-26T09:13:19+00:00	[thread overview]
Message-ID: <upttx7efe.fsf@wanadoo.fr> (raw)
In-Reply-To: mailman.1035582781.21803.comp.lang.ada@ada.eu.org


"Dominic D'Apice" <dapiced@sympatico.ca> writes:

> Hi, in this abstract data type in ADS (see below), do i need to put 
> 
> "type louer is access reservation" with the "IS PRIVATE" ?
> 
> If no, why i don't need to put "IS PRIVATE" after a access type when i
> want to keep it PRIVATE ?

Because there is nothing to hide with the access type. You just have exposed
the name and no field is accessible via the access type (except in
reservation's body of course !).

So I really don't see the problem here... or maybe I missed your point :)

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2002-10-26  9:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-25 21:52 PRIVATE abstract data type in ADS Dominic D'Apice
2002-10-26  9:11 ` Pascal Obry [this message]
2002-10-30 13:24 ` John English
replies disabled

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