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.8 required=5.0 tests=BAYES_00,TO_MALFORMED autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,e0b85aa2bdf012f2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-27 10:57:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.aset.psu.edu!not-for-mail From: Robert Spooner Newsgroups: comp.lang.ada Subject: Re: Ada Streams representation Date: Thu, 27 Mar 2003 13:51:14 -0500 Organization: Penn State University, Center for Academic Computing Message-ID: <3E834822.6000005@psu.edu> References: <3e83277e@epflnews.epfl.ch> NNTP-Posting-Host: nat3.arl.psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: f04n12.cac.psu.edu 1048791075 33866 146.186.165.37 (27 Mar 2003 18:51:15 GMT) X-Complaints-To: usenet@f04n12.cac.psu.edu NNTP-Posting-Date: Thu, 27 Mar 2003 18:51:15 +0000 (UTC) To: =?ISO-8859-1?Q?Rodrigo_Garc=EDa?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en,de,fr-FR Xref: archiver1.google.com comp.lang.ada:35766 Date: 2003-03-27T13:51:14-05:00 List-Id: Rodrigo, You can define your own stream representation for a _type_ by redefining 'read and 'write for that type. Bob Rodrigo Garc�a wrote: > Hi, > > Can a new type of Stream define its own representation? I am afraid > the answer is no...(Stream_Element is implementation defined but it > cannot be changed). > > Rodrigo > -- Robert L. Spooner Registered Professional Engineer Associate Research Engineer Intelligent Control Systems Department Applied Research Laboratory Phone: (814) 863-4120 The Pennsylvania State University FAX: (814) 863-7841 P. O. Box 30 State College, PA 16804-0030 rls19@psu.edu