comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Exchanging objects between programs with different inheritance hierarchies
Date: 14 Nov 2002 06:29:23 +0000
Date: 2002-11-14T06:29:23+00:00	[thread overview]
Message-ID: <x7vn0ocpsu4.fsf@smaug.pushface.org> (raw)
In-Reply-To: ZbwA9.1466$Rp.500@rwcrnsc51.ops.asp.att.net

tmoran@acm.org writes:

> > You almost never have to override 'Input, 'Output. 'Read and 'Write,

> I think it's "almost always" rather than "almost never".  If it's an
> object of any complexity, in a program that's more than just quick
> and dirty, you probably need to code your own routines to have
> better control over just how things are laid out in the stream, and
> how fast it runs.

(The following is "as I understand it")

'Input, 'Output use bounds, discriminants or tags to control exactly
what 'Read, 'Write routines get called. So you _must_ get 'Read,
'Write right.

Of course I agree that you may need control over how bounds,
discriminants or tags are written, in which case you'll need to
specify 'Input, 'Output as well. But it's not a 'must'.



  reply	other threads:[~2002-11-14  6:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3DC93287.2EA290F0@myob.com>
2002-11-13  2:19 ` Exchanging objects between programs with different inheritance hierarchies Steven Deller
2002-11-13  6:05   ` Jim Rogers
2002-11-13 15:54     ` Simon Wright
2002-11-13 17:44       ` tmoran
2002-11-14  6:29         ` Simon Wright [this message]
2002-11-13 17:59   ` Jeffrey Carter
2002-11-13 18:23     ` Robert A Duff
2002-11-13 23:17       ` Steven Deller
2002-11-13 12:18 Grein, Christoph
     [not found] <200211131218.NAA13957@bulgaria.otn.eurocopter.de>
2002-11-13 17:22 ` Steven Deller
2002-11-13 18:12   ` Robert A Duff
replies disabled

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