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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,af92cb4b0cc736af X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-01 03:32:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!bnewspeer01.bru.ops.eu.uu.net!auucp0.ams.ops.eu.uu.net!bnewsifeed01.bru.ops.eu.uu.net!bnewsifeed00.bru.ops.eu.uu.net!bnewspost00.bru.ops.eu.uu.net!emea.uu.net!read.news.de.uu.net!not-for-mail Date: Fri, 01 Nov 2002 11:57:43 +0100 From: Ulrich Eckhardt Organization: Private at home User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; Stable) Gecko/20020603 Beonex/0.8-stable X-Accept-Language: de, de-DE, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: problem with abstract types References: <3DC12CFF.EC36842C@brighton.ac.uk> <3DC165F9.9000000@attbi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <8nmtpa-pd1.ln@uli.uli-eckhardt.de> NNTP-Posting-Host: 1Cust159.tnt6.fft4.deu.da.uu.net X-Trace: 1036150366 read.news.de.uu.net 189 149.225.94.159 X-Complaints-To: abuse@de.uu.net Xref: archiver1.google.com comp.lang.ada:30280 Date: 2002-11-01T11:57:43+01:00 List-Id: Robert I. Eachus wrote: > Ulrich Eckhardt wrote: > > >>No. openRegistry is first defined abstract and then implemented >>as openRegistry(reg : in out file_registry; ..) and >>openRegistry(reg : in out win_registry; ..) . > [..] > > with registry; use registry; > procedure main is > declare > reg := openRegistry(CLASS_USER,"registrytest"); It's not so easy. My function get_Registry sould estimat what type of registry should be used (mybe i want to add later on also an LDAP, Database or some sort of pluggable support). So it seems that i have to use access parameters for this. > Also you will note that I got rid of any need for Unbounded_String. It > may be that some of the individual implementations of openRegistry will > need to use Unbounded_String, but if the name never changes, you I will change my specs about this. Uli -- Ulrich Eckhardt http://www.uli-eckhardt.de