Re: I/O streaming with custom data transport
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Wed, 22 Nov 2006 11:31:15 +0100
On Wed, 22 Nov 2006 10:21:02 +0100, Maciej Sobczak wrote:
I don't understand. The focus here is on foo - which represents the set
of functions that can use the stream without really caring what the
stream is.
OK, then it is just what Ada calls a class-wide subprogram:
type My_Abstract_Stream is abstract new Root_Stream_Type ...;
-- Somewhere else
procedure Foo (S : in out My_Abstract_Stream'Class);
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- References:
- I/O streaming with custom data transport
- From: Maciej Sobczak
- Re: I/O streaming with custom data transport
- From: Dmitry A. Kazakov
- Re: I/O streaming with custom data transport
- From: Maciej Sobczak
- I/O streaming with custom data transport
- Prev by Date: Re: I/O streaming with custom data transport
- Next by Date: Re: I/O streaming with custom data transport
- Previous by thread: Re: I/O streaming with custom data transport
- Next by thread: Building GNAT/GCC 4.2.0
- Index(es):
Relevant Pages
|