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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71aa44b9692e8206 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-17 08:10:13 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!titan03.ksc.nasa.gov!niven.ksc.nasa.gov!usenet From: "Samuel T. Harris" Newsgroups: comp.lang.ada Subject: Re: Package name Date: Thu, 17 May 2001 10:06:19 -0500 Organization: Raytheon Aerospace Engineering Services Message-ID: <3B03E8EB.523C5715@gsde.hou.us.ray.com> References: <990017804.158478@edh3> <9du16o$fr3$1@nh.pace.co.uk> <3B02AE98.BDAAC10E@setra.fr> <9e0lfh$e8k$1@nh.pace.co.uk> Reply-To: samuel_t_harris@raytheon.com NNTP-Posting-Host: sstf-fw.jsc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (X11; U; IRIX64 6.2 IP19) X-Accept-Language: en Xref: archiver1.sj.google.com comp.lang.ada:7616 Date: 2001-05-17T10:06:19-05:00 List-Id: Marin David Condic wrote: > > That might work nicely in a number of spots. It would be A Good Thing if > there were some way of doing it in a way that Ada guarantees you get the > string you want. The external_tag may not produce a result you want on all > systems. > Use Ada.Tags.External_Name instead. It is a precisely define content which is a string representing the fully expanded name of the type. One can easily strip off the last .identifier to get the fully expanded name of the enclosing declaration. Another method is to establish a code pattern where each declarative scope defines a known string constant of the same name and use ASIS to auto-insert the string declarations into code. -- Samuel T. Harris, Principal Engineer Raytheon, Aerospace Engineering Services "If you can make it, We can fake it!"