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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6bf481efd29cf77b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-11 17:57:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!kibo.news.demon.net!demon!psiuk-p2!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Behavior of Stream Attributes On Access Types. Date: Tue, 11 Jun 2002 10:15:16 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1023804918 9481 136.170.200.133 (11 Jun 2002 14:15:18 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 11 Jun 2002 14:15:18 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:25772 Date: 2002-06-11T14:15:18+00:00 List-Id: That's kind of how I've been handling it - overriding the "default" case with my own operations to get linked data structures in and out of streams. I was just wondering what the ARM had to say on what the "default" case is - if I have a record with pointers to other things and just do a 'Write, what happens? Given the nature of the beast, its hard to imagine anything happening that would be at all useful, so I guess the answer is "Always Roll Your Own." MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "R. Tim Coslet" wrote in message news:B92AD893.4284%R_Tim_Coslet@pacbell.net... > As I understand it, the LRM simply leaves it "implementation defined". > > I don't expect the value to be of any use... > > I always write custom 'Read and 'Write functions for access types > specifically designed to instead read or write the "subtree" of the data > structure the access points to, instead of the value. > > Of course this only works for types used to define simple "linear" and > "tree" shaped data structures. It would get much more involved for the > "general" case. >