From: gautier_niouzes@hotmail.com
Subject: Re: Declaring constants for a abstract tagged type and concrete sub classes
Date: Mon, 6 Jul 2015 10:30:47 -0700 (PDT)
Date: 2015-07-06T10:30:47-07:00 [thread overview]
Message-ID: <426c0ad8-dda9-476f-9cb2-3d78d8629f17@googlegroups.com> (raw)
In-Reply-To: <0ade6abf-34c0-46e2-8bd9-d60a00056321@googlegroups.com>
Not sure if it is useful for you, but sometimes I define a "pre-root" type which is concrete from which I define a root type which is abstract.
http://excel-writer.sf.net/ew_html/excel_out__ads.htm#462_8
In the example, the "official" root type is actually:
type Excel_Out_Stream is abstract new Excel_Out_Pre_Root_Type with null record;
_________________________
Gautier's Ada programming
http://gautiersblog.blogspot.com/search/label/Ada
NB: follow the above link for a valid e-mail address
prev parent reply other threads:[~2015-07-06 17:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-06 10:10 Declaring constants for a abstract tagged type and concrete sub classes Serge Robyns
2015-07-06 11:55 ` G.B.
2015-07-06 13:49 ` Serge Robyns
2015-07-06 17:36 ` G.B.
2015-07-07 16:27 ` Serge Robyns
2015-07-07 17:21 ` G.B.
2015-07-07 19:51 ` Serge Robyns
2015-07-07 20:14 ` Simon Wright
2015-07-07 20:18 ` Jeffrey R. Carter
2015-07-06 15:42 ` Simon Wright
2015-07-06 16:35 ` Serge Robyns
2015-07-06 17:02 ` Bob Duff
2015-07-06 21:16 ` Serge Robyns
2015-07-06 17:30 ` gautier_niouzes [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox