comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: I/O streaming with custom data transport
Date: Wed, 22 Nov 2006 11:31:15 +0100
Date: 2006-11-22T11:31:13+01:00	[thread overview]
Message-ID: <79hvsq397jad.gqs0q79z1smz.dlg@40tude.net> (raw)
In-Reply-To: ek14pu$k4v$1@cernne03.cern.ch

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



      reply	other threads:[~2006-11-22 10:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 15:11 I/O streaming with custom data transport Maciej Sobczak
2006-11-21 15:28 ` gautier_niouzes
2006-11-21 17:51 ` Alex R. Mosteo
2006-11-22  9:16   ` Maciej Sobczak
2006-11-22 10:01     ` Alex R. Mosteo
2006-11-22 10:39       ` Maciej Sobczak
2006-11-22 16:06         ` Dmitry A. Kazakov
2006-11-22 16:30         ` Alex R. Mosteo
2006-11-23  5:48         ` Simon Wright
2006-11-22 13:50     ` Robert A Duff
2006-11-22 14:37       ` Maciej Sobczak
2006-11-22 16:11         ` Georg Bauhaus
2006-11-21 19:02 ` Dmitry A. Kazakov
2006-11-22  9:21   ` Maciej Sobczak
2006-11-22 10:31     ` 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