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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7137ee7358078d09 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!b28g2000cwb.googlegroups.com!not-for-mail From: richard.charts@gmail.com Newsgroups: comp.lang.ada Subject: Re: Basic Explaination of OO in Ada Date: 19 Sep 2006 07:23:26 -0700 Organization: http://groups.google.com Message-ID: <1158675806.550148.278060@b28g2000cwb.googlegroups.com> References: <1158593087.194781.250030@e3g2000cwe.googlegroups.com> <1158636734.971377.112550@d34g2000cwd.googlegroups.com> <1158674185.887102.205150@m73g2000cwd.googlegroups.com> <1158675056.233248.223870@e3g2000cwe.googlegroups.com> NNTP-Posting-Host: 12.129.98.129 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1158675810 11396 127.0.0.1 (19 Sep 2006 14:23:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 19 Sep 2006 14:23:30 +0000 (UTC) In-Reply-To: <1158675056.233248.223870@e3g2000cwe.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 S1PS Complaints-To: groups-abuse@google.com Injection-Info: b28g2000cwb.googlegroups.com; posting-host=12.129.98.129; posting-account=ydtQyAwAAAC1xxzVoGOYbHSW6zGrdJDV Xref: g2news2.google.com comp.lang.ada:6667 Date: 2006-09-19T07:23:26-07:00 List-Id: Lucretia wrote: > richard.charts@gmail.com wrote: > > One thing I'm still confused on is the use of access objects > > An access type is equivalent to a pointer in C, although an access type > in Ada may or may not be an actual address, it could be an offset into > a block of memory. > > Luke. I understand that part, but I do not see how an access type could be used to handle polymorphism. Unless that is the point. or (as I am scrolling through Ada Distilled) is it that I am misunderstanding Storage Pool Access Type vs General Access Type? Is it possible to for object_type to handle either object or sub_object?