From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e64088334cf5790e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-13 08:59:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!news.tufts.edu!uunet!dca.uu.net!ash.uu.net!lore.csc.com!baen1673807.greenlnk.net!baen1673807!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Exchanging objects between programs with different inheritance hierarchies Date: 13 Nov 2002 15:54:25 +0000 Organization: Alenia Marconi Systems, ISD, Farlington Sender: sjw@galadriel.frlngtn.gecm.com Message-ID: References: <3DD1EB64.4050409@worldnet.att.net> NNTP-Posting-Host: 20.44.240.33 X-Trace: lore.csc.com 1037206758 1095 20.44.240.33 (13 Nov 2002 16:59:18 GMT) X-Complaints-To: abuse@news.csc.com NNTP-Posting-Date: Wed, 13 Nov 2002 16:59:18 +0000 (UTC) X-Newsreader: Gnus v5.5/Emacs 20.3 X-Original-NNTP-Posting-Host: galadriel.frlngtn.gecm.com X-Original-Trace: 13 Nov 2002 16:58:47 GMT, galadriel.frlngtn.gecm.com Xref: archiver1.google.com comp.lang.ada:30815 Date: 2002-11-13T15:54:25+00:00 List-Id: Jim Rogers writes: > Steven Deller wrote: > > I believe streams and 'Class'Output and 'Class'Input may be the answer, > > but find myself unable to fully understand the RM's "contract" with > > regard to writing, and then reading, tagged type objects. > > You will need to provide a common package on both systems. That > package should define the tagged types and also a customization of > the 'Class'Input and 'Class'Output operations. You almost never have to override 'Input, 'Output. 'Read and 'Write, perhaps (eg for access types).