comp.lang.ada
 help / color / mirror / Atom feed
From: Steve Quinlan <steven.quinlan@nospam.lmco.com>
Subject: Re: Ada.Streams examples
Date: 1999/03/11
Date: 1999-03-11T00:00:00+00:00	[thread overview]
Message-ID: <36E82E5B.6C1B4050@nospam.lmco.com> (raw)
In-Reply-To: 7c91k2$9fl@sjx-ixn10.ix.netcom.com



Richard D Riehle wrote:

>  Perhaps I should have said, it is possible to override the Read and Write
>  operations so they behave exactly as you want them to. In fact, the
>  procedures Read and Write, in package Ada.Streams, are abstract so they
>  must be overridden. Note: we are not talking of Ada.Streams.Stream_IO.
>  We are talking about the parent package Ada.Streams (LRM 13.13.1).
>  Notice how useful this is in Ada.Exceptions from the GNAT compiler.
>
>  Richard

  OK, that's clearer. I understand that when you define a new stream type
derived from root_stream_class you have to implement the read and write
procedures that override Ada.Streams. But what GNAT did was to override the
'read and 'write attributes.







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

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-10  0:00 Ada.Streams examples Tom Moran
1999-03-10  0:00 ` dennison
1999-03-10  0:00   ` Tom Moran
1999-03-10  0:00     ` dennison
1999-03-10  0:00       ` Tom Moran
1999-03-11  0:00         ` dennison
1999-03-17  0:00           ` Tom Moran
1999-03-11  0:00     ` Richard D Riehle
1999-03-11  0:00       ` Steve Quinlan
1999-03-11  0:00         ` Richard D Riehle
1999-03-11  0:00           ` Steve Quinlan [this message]
1999-03-12  0:00             ` Richard D Riehle
1999-03-10  0:00   ` Rex Reges
1999-03-10  0:00     ` dennison
     [not found]       ` <36E7036B.EADEEA80@Boeing.com>
1999-03-11  0:00         ` dennison
1999-03-10  0:00 ` Steve Quinlan
replies disabled

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