comp.lang.ada
 help / color / mirror / Atom feed
From: jsanchor@my-dejanews.com
Subject: Re: System.Address_to_Access_Conversions
Date: 1998/07/15
Date: 1998-07-15T00:00:00+00:00	[thread overview]
Message-ID: <6oj1qi$n37$1@nnrp1.dejanews.com> (raw)
In-Reply-To: QrnmUD5r9GA.195@samson.airnet.net



> I notice also, that Jay's response to my 6ofqvs$alm@hacgate2.hac.com post
> did not mention the tagged type problem at all, but did specify a tagged
> type.
>
> David C. Hoos, Sr.
> I am using tagged types to identify different data records that the author of
each child package will create from my parent type Dummy_type'class, and store
them in NVM.
i.e type new_dummy_type is new my_package.dummy_type'class with
    record
      number : integer := 8;
    end record;

    new_dummy : aliased new_dummy_type;

They will call a procedure declared in my package called
   Register(access_to_block : access Dummy_type'class).

ex. my_package.Register(new_dummy'access);
Register in my_package will get the TAG
     tmp :   Ada.tags.tag;
     tmp :=  access_to_block'tag

 & the put in an array(plus, access type). And my package will poll through
this array and update NVM if there are any change to RAM copy. (To put it
simply) After reading all the comments from all who have responded I am
worried because I also thought that the TAG was the first element in the
record. I have tampered with my program ~100 times and it did stay there. (I
am not saying you are wrong just pondering).

Sincerely,
Jay S.



>

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




  reply	other threads:[~1998-07-15  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-13  0:00 System.Address_to_Access_Conversions jsanchor
1998-07-13  0:00 ` System.Address_to_Access_Conversions Stephen Leake
1998-07-14  0:00   ` System.Address_to_Access_Conversions jsanchor
1998-07-14  0:00 ` System.Address_to_Access_Conversions Anonymous
1998-07-14  0:00 ` System.Address_to_Access_Conversions Pascal MALAISE
1998-07-14  0:00   ` System.Address_to_Access_Conversions jsanchor
1998-07-14  0:00     ` System.Address_to_Access_Conversions David C. Hoos, Sr.
1998-07-14  0:00       ` System.Address_to_Access_Conversions jsanchor
1998-07-14  0:00         ` System.Address_to_Access_Conversions David C. Hoos, Sr.
1998-07-14  0:00       ` System.Address_to_Access_Conversions nabbasi
1998-07-14  0:00         ` System.Address_to_Access_Conversions Robert Dewar
1998-07-14  0:00         ` System.Address_to_Access_Conversions David C. Hoos, Sr.
1998-07-15  0:00           ` jsanchor [this message]
1998-07-15  0:00             ` System.Address_to_Access_Conversions David C. Hoos, Sr.
1998-07-26  0:00         ` System.Address_to_Access_Conversions Matthew Heaney
1998-07-26  0:00           ` System.Address_to_Access_Conversions nababsi
1998-07-26  0:00             ` System.Address_to_Access_Conversions Robert Dewar
1998-07-26  0:00             ` System.Address_to_Access_Conversions Matthew Heaney
1998-07-26  0:00               ` System.Address_to_Access_Conversions Robert Dewar
1998-07-26  0:00                 ` System.Address_to_Access_Conversions nabbasi
1998-07-26  0:00             ` System.Address_to_Access_Conversions Charles Hixson
1998-07-26  0:00               ` System.Address_to_Access_Conversions Robert Dewar
1998-07-26  0:00             ` System.Address_to_Access_Conversions Charles Hixson
  -- strict thread matches above, loose matches on Subject: below --
1998-07-15  0:00 System.Address_to_Access_Conversions Marin David Condic, 561.796.8997, M/S 731-96
1998-07-26  0:00 ` System.Address_to_Access_Conversions Matthew Heaney
1998-07-27  0:00 System.Address_to_Access_Conversions Marin David Condic, 561.796.8997, M/S 731-96
1998-07-28  0:00 ` System.Address_to_Access_Conversions Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox