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-Thread: 103376,28a24746aa07c732 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.germany.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Michael Erdmann Newsgroups: comp.lang.ada Subject: Re: Design help Date: Sat, 17 Mar 2007 21:34:57 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de q48I/9XKfwRsX/EBb7y4VwYFC3qva3UOgObSid7TrAzF5YcsWN5Bup X-Orig-Path: hal.boavista.snafu.de!news User-Agent: Thunderbird 1.5 (X11/20060317) In-Reply-To: Xref: g2news1.google.com comp.lang.ada:14549 Date: 2007-03-17T21:34:57+01:00 List-Id: Carroll, Andrew wrote: > I am trying to design (what I guess is) a database table adapter. Yes, > it is a master's course assignment. The current design is to use a file > and have one record per line. My goal is to get each line to be > "serialized" so I can read the whole line in bytes and then take chunks > of it and "cast" those into objects. Hallo, look in the CVS of GNADE. You will find in the contrib/objects section a technology demo doing this. May be you reuse the ideas. Michael