comp.lang.ada
 help / color / mirror / Atom feed
* I want 'Class'Input back!
@ 1999-10-12  0:00 Ted Dennison
  1999-10-12  0:00 ` Matthew Heaney
       [not found] ` <3814EF36.3D82D483@rational.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Ted Dennison @ 1999-10-12  0:00 UTC (permalink / raw)


I'm experimenting with making a private type limited. Unfortunately
doing this toasts the default definitions for the stream attributes for
that type. But I *liked* the default definitions for the stream
attributes. In fact, I need 'Input, 'Output, 'Class'Input, and
'Class'Output.

So just write my own clones of those attributes, then do a "for
typename'{Attribute} use", right? Well, the problem is I can't figure
out is how to (re)make 'Class'Input myself. Its definition from the LRM
is:

First reads the external tag from Stream and determines the
corresponding internal tag (by calling
Tags.Internal_Tag(String'Input(Stream)) -- see 3.9) and then dispatches
to the subprogram denoted by the Input attribute of the specific type
identified by the internal tag; returns that result.

So how do I write Ada code to do this? I hope I'm missing something
simple.

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Before you buy.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1999-10-26  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-12  0:00 I want 'Class'Input back! Ted Dennison
1999-10-12  0:00 ` Matthew Heaney
1999-10-13  0:00   ` Ted Dennison
1999-10-18  0:00     ` I want 'Class'Read back! (was: I want 'Class'Read back!) Ted Dennison
     [not found] ` <3814EF36.3D82D483@rational.com>
1999-10-26  0:00   ` I want 'Class'Input back! Ted Dennison

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